diff options
Diffstat (limited to 'testsuite/cp')
-rw-r--r-- | testsuite/cp/cp-does-not-copy-unreadable-file | 4 |
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 @@ | |||
1 | touch foo | ||
2 | chmod a-r foo | ||
3 | busybox cp foo bar | ||
4 | test ! -f bar | ||