diff options
Diffstat (limited to 'tests/cp/no-ctx.sh')
-rwxr-xr-x | tests/cp/no-ctx.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/no-ctx.sh b/tests/cp/no-ctx.sh index 3cae58314..19d68b8ff 100755 --- a/tests/cp/no-ctx.sh +++ b/tests/cp/no-ctx.sh @@ -57,7 +57,7 @@ LD_PRELOAD=./k.so cp -a file_src file_dst || fail=1 # ENODATA should give an immediate error when required to preserve ctx # This is debatable, and maybe we should not fail when no context available? -LD_PRELOAD=./k.so cp --preserve=context file_src file_dst && fail=1 +LD_PRELOAD=./k.so returns_ 1 cp --preserve=context file_src file_dst || fail=1 test -e preloaded || skip_ 'LD_PRELOAD interception failed' |