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 <amar@gluster.com> BUG: 787956 Reviewed-on: http://review.gluster.com/2768 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
This commit is contained in:
parent
df12073c4c
commit
061d70e819
@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user