summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/testsuite/mv/mv-moves-symlinks
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/testsuite/mv/mv-moves-symlinks')
-rw-r--r--release/src/router/busybox/testsuite/mv/mv-moves-symlinks6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/src/router/busybox/testsuite/mv/mv-moves-symlinks b/release/src/router/busybox/testsuite/mv/mv-moves-symlinks
new file mode 100644
index 00000000..c413af07
--- /dev/null
+++ b/release/src/router/busybox/testsuite/mv/mv-moves-symlinks
@@ -0,0 +1,6 @@
+touch foo
+ln -s foo bar
+busybox mv bar baz
+test -f foo
+test ! -e bar
+test -L baz