xfstests: generic/317 318 need procfs uid_map/gid_map support
authorEryu Guan <eguan@redhat.com>
Tue, 29 Oct 2013 12:17:48 +0000 (12:17 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 4 Nov 2013 20:31:04 +0000 (14:31 -0600)
commita4ba47ca9443420495d83c7146b355d466e52ebf
tree84a26b90cffd90c0732e0f7aec04af01696e166a
parentc4d4fb21ef3b08e530512071e798bffeea6f2c74
xfstests: generic/317 318 need procfs uid_map/gid_map support

generic/317 and 318 need /proc/<pid>/[uid_map|gid_map], test fail on
older kernels without that support.

Add a _require_ugid_map() function and called by 317 and 318.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/rc
tests/generic/317
tests/generic/318