aboutsummaryrefslogtreecommitdiff
path: root/testsuite/mv/mv-moves-unreadable-files
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/mv/mv-moves-unreadable-files')
-rw-r--r--testsuite/mv/mv-moves-unreadable-files5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/mv/mv-moves-unreadable-files b/testsuite/mv/mv-moves-unreadable-files
new file mode 100644
index 000000000..bc9c3133c
--- /dev/null
+++ b/testsuite/mv/mv-moves-unreadable-files
@@ -0,0 +1,5 @@
+touch foo
+chmod a-r foo
+busybox mv foo bar
+test ! -e foo
+test -f bar