]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfstests: 077 should require fsgqa user
authorEric Sandeen <sandeen@sandeen.net>
Fri, 19 Feb 2010 15:32:54 +0000 (09:32 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 19 Feb 2010 15:32:54 +0000 (09:32 -0600)
Running on a newly-provisioned box:

077  - output mismatch (see 077.out.bad)
 --- 077.out 2010-02-17 11:22:35.275052872 -0500
 +++ 077.out.bad 2010-02-17 11:59:48.979053106 -0500
 @@ -1,6 +1,7 @@
 QA output created by 077
 *** create filesystem
 *** set default ACL
+setfacl: Option -m: Invalid argument near character 3
 *** populate filesystem, pass #1
 *** populate filesystem, pass #2
 *** all done

because we didn't have the fsgqa user, and tried:

# setfacl -R -dm u:fsgqa:rwx,g::rwx,o::r-x,m::rwx ...

instead should have had:

077  [not run] fsgqa user not defined.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
077

diff --git a/077 b/077
index ea81c078ff50bcbc04ebf60f4fb6119ea84b5044..72f1b2aa330ae7e69032f68258d95fa07bd706f0 100755 (executable)
--- a/077
+++ b/077
@@ -54,6 +54,7 @@ _supported_os Linux
 
 _require_scratch
 _require_acls
+_require_user
 
 echo "*** create filesystem"