summaryrefslogtreecommitdiffhomepage
path: root/testsuite/cp/cp-does-not-copy-unreadable-file
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cp/cp-does-not-copy-unreadable-file')
-rw-r--r--testsuite/cp/cp-does-not-copy-unreadable-file2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/cp/cp-does-not-copy-unreadable-file b/testsuite/cp/cp-does-not-copy-unreadable-file
index 68c576727..ce11bfab0 100644
--- a/testsuite/cp/cp-does-not-copy-unreadable-file
+++ b/testsuite/cp/cp-does-not-copy-unreadable-file
@@ -1,4 +1,6 @@
touch foo
chmod a-r foo
+set +e
busybox cp foo bar
+set -e
test ! -f bar