summaryrefslogtreecommitdiff
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 0000000..a8123ec
--- /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;
+