From 061d70e8195d082043b071118333b7e3173fa3ec Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sat, 18 Feb 2012 12:58:39 +0530 Subject: extras/rpc-coverage.sh : behavior fix don't treat getfattr after 'setfattr -x' (ie, removexattr()) as an error. ignore the output so the script runs for completion Change-Id: Id7089b91e7259a39be7cb6fce627828774c4acbc Signed-off-by: Amar Tumballi BUG: 787956 Reviewed-on: http://review.gluster.com/2768 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- extras/rpc-coverage.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'extras') diff --git a/extras/rpc-coverage.sh b/extras/rpc-coverage.sh index ebb92a2a1..9148a73e2 100755 --- a/extras/rpc-coverage.sh +++ b/extras/rpc-coverage.sh @@ -398,8 +398,7 @@ function test_getxattr() function test_removexattr() { setfattr -x trusted.testing $PFX/dir/file || fail "setfattr remove" - getfattr -n trusted.testing $PFX/dir/file 2>&1 | grep -q 'No such attribute' \ - || fail "getfattr" + getfattr -n trusted.testing $PFXf/dir/file 2>&1 | grep -q "No such attribute" } -- cgit