summaryrefslogtreecommitdiff
path: root/testsuite/cp/cp-does-not-copy-unreadable-file
blob: ce11bfab033dcfde5555d48f984740392d5cce27 (plain)
1
2
3
4
5
6
touch foo
chmod a-r foo
set +e
busybox cp foo bar
set -e
test ! -f bar