summaryrefslogtreecommitdiff
path: root/testsuite/ln/ln-force-creates-hard-links
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/ln/ln-force-creates-hard-links')
-rw-r--r--testsuite/ln/ln-force-creates-hard-links5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/ln/ln-force-creates-hard-links b/testsuite/ln/ln-force-creates-hard-links
new file mode 100644
index 0000000..c96b7d6
--- /dev/null
+++ b/testsuite/ln/ln-force-creates-hard-links
@@ -0,0 +1,5 @@
+echo file number one > file1
+echo file number two > link1
+busybox ln -f file1 link1
+test -f file1
+test -f link1