fstests: Add / use _require_runas and _runas
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 27 Jun 2016 22:40:21 +0000 (00:40 +0200)
committerEryu Guan <eguan@redhat.com>
Fri, 1 Jul 2016 03:17:08 +0000 (11:17 +0800)
commit9d93ce7ddd73d431337f2ceb70368208121912a6
tree2d51a7534086869e294771f0ab3442d93c637900
parent12132c4b5f474db116a0326cfc6d5ff463da6af7
fstests: Add / use _require_runas and _runas

Add _require_runas and _runas functions instead of open-coding it in
test cases.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc
tests/generic/093
tests/generic/099
tests/generic/237
tests/shared/051