aboutsummaryrefslogtreecommitdiff
path: root/testsuite/ln/ln-preserves-soft-links
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/ln/ln-preserves-soft-links')
-rw-r--r--testsuite/ln/ln-preserves-soft-links9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/ln/ln-preserves-soft-links b/testsuite/ln/ln-preserves-soft-links
new file mode 100644
index 000000000..a8123ece3
--- /dev/null
+++ b/testsuite/ln/ln-preserves-soft-links
@@ -0,0 +1,9 @@
+echo file number one > file1
+echo file number two > link1
+set +e
+busybox ln -s file1 link1
+if [ $? != 0 ] ; then
+ exit 0;
+fi
+exit 1;
+