[PATCH xfstests] filter 237 setfacl output

Eric Sandeen sandeen at redhat.com
Thu Jul 1 14:55:55 CDT 2010


Older setfacl error output seems to include the full path to
the file; filter it out.

Signed-off-by: Eric Sandeen <sandeen at redhat.com>
---

diff --git a/237 b/237
index bcec3b1..62232c7 100755
--- a/237
+++ b/237
@@ -72,7 +72,8 @@ touch file1
 chown $acl1.$acl1 file1
 
 echo "Expect to FAIL"
-$runas -u $acl2 -g $acl2 -- `which setfacl` -m u::rwx file1 2>&1
+$runas -u $acl2 -g $acl2 -- `which setfacl` -m u::rwx file1 2>&1 \
+	| sed -e s%$testdir/$seq.dir1/%%
 
 echo "Test over."
 # success, all done




More information about the xfs mailing list