projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kill off the old 'tests' stuff. Write a ton of new tests for the
[oweals/busybox.git]
/
testsuite
/
cp
/
cp-does-not-copy-unreadable-file
diff --git
a/testsuite/cp/cp-does-not-copy-unreadable-file
b/testsuite/cp/cp-does-not-copy-unreadable-file
index 68c57672797153b7545c2f469a6a2f9d60f4d001..ce11bfab033dcfde5555d48f984740392d5cce27 100644
(file)
--- 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