Skip to contentSkip to conversation

filter 237 setfacl output

PATCH In review Eric Sandeen 2 participants 2 messages Jul 1, 2010 – Jul 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 filter 237 setfacl output

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

---

237 +2 -1
index bcec3b1..62232c7 100755
@@ -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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs