summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/conf/busybox/testsuite/mv/mv-moves-unreadable-files
diff options
context:
space:
mode:
Diffstat (limited to 'i/pc104/initrd/conf/busybox/testsuite/mv/mv-moves-unreadable-files')
-rw-r--r--i/pc104/initrd/conf/busybox/testsuite/mv/mv-moves-unreadable-files5
1 files changed, 5 insertions, 0 deletions
diff --git a/i/pc104/initrd/conf/busybox/testsuite/mv/mv-moves-unreadable-files b/i/pc104/initrd/conf/busybox/testsuite/mv/mv-moves-unreadable-files
new file mode 100644
index 0000000..bc9c313
--- /dev/null
+++ b/i/pc104/initrd/conf/busybox/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