[PATCH xfstests] filter 237 setfacl output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux