aboutsummaryrefslogtreecommitdiff
path: root/testsuite/mv/mv-preserves-links
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/mv/mv-preserves-links')
-rw-r--r--testsuite/mv/mv-preserves-links5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/mv/mv-preserves-links b/testsuite/mv/mv-preserves-links
new file mode 100644
index 000000000..ea565d2f1
--- /dev/null
+++ b/testsuite/mv/mv-preserves-links
@@ -0,0 +1,5 @@
+touch foo
+ln -s foo bar
+busybox mv bar baz
+test -L baz
+test xfoo = x`readlink baz`