xfs
[Top] [All Lists]

[PATCH xfstests] filter 237 setfacl output

To: xfs mailing list <xfs@xxxxxxxxxxx>
Subject: [PATCH xfstests] filter 237 setfacl output
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Thu, 01 Jul 2010 14:55:55 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.3
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

<Prev in Thread] Current Thread [Next in Thread>