From 14b7c5d12b9a492d148b744cf8300f47b53aafd0 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Tue, 11 Dec 2001 16:43:48 +0000 Subject: Open the source before creating the destination. --- testsuite/cp/cp-does-not-copy-unreadable-file | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 testsuite/cp/cp-does-not-copy-unreadable-file (limited to 'testsuite/cp') 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 @@ +touch foo +chmod a-r foo +busybox cp foo bar +test ! -f bar -- cgit v1.2.3