aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cp
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-11 16:43:48 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-11 16:43:48 +0000
commitb39867739edc8910b6f708133e0074ba44943d20 (patch)
treea526d078b760f343038f2f67eda043e3e9198613 /testsuite/cp
parent8332f12a43362c5006de9a7e34612cfa09666aa3 (diff)
downloadbusybox-w32-b39867739edc8910b6f708133e0074ba44943d20.tar.gz
busybox-w32-b39867739edc8910b6f708133e0074ba44943d20.tar.bz2
busybox-w32-b39867739edc8910b6f708133e0074ba44943d20.zip
Open the source before creating the destination.
git-svn-id: svn://busybox.net/trunk/busybox@3882 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite/cp')
-rw-r--r--testsuite/cp/cp-does-not-copy-unreadable-file4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/cp/cp-does-not-copy-unreadable-file b/testsuite/cp/cp-does-not-copy-unreadable-file
new file mode 100644
index 000000000..68c576727
--- /dev/null
+++ b/testsuite/cp/cp-does-not-copy-unreadable-file
@@ -0,0 +1,4 @@
1touch foo
2chmod a-r foo
3busybox cp foo bar
4test ! -f bar