From db6661d5219751b602d49165ae6a4e1e09ac1baf Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Tue, 14 Dec 2010 20:17:16 +0100 Subject: [PATCH] xfstests: ignore absolute address in filename in test case 237 Test case 237 checks for setfacl output. The setfacl can use both relative address or absolute address for filename. Following patch ignores the unnecessary part of absolute address and therefore the test case can pass on systems that output absolute address. Signed-off-by: Boris Ranto Signed-off-by: Christoph Hellwig --- 237 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/237 b/237 index bcec3b1e..4d7bb402 100755 --- a/237 +++ b/237 @@ -72,7 +72,7 @@ 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 's/^setfacl: \/.*file1: Operation not permitted$/setfacl: file1: Operation not permitted/' echo "Test over." # success, all done -- 2.47.3