projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Open the source before creating the destination.
[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
new file mode 100644
(file)
index 0000000..
68c5767
--- /dev/null
+++ b/
testsuite/cp/cp-does-not-copy-unreadable-file
@@ -0,0
+1,4
@@
+touch foo
+chmod a-r foo
+busybox cp foo bar
+test ! -f bar