summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-12 01:43:54 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-12 01:43:54 +0000
commit3bdace3580609215b0b71cca6aab3135c385c650 (patch)
tree7d843a21709103d18f790a4effce2132cba884da
parent096e3b738459d6d23f4bac569c783d8f8d177e2b (diff)
The program to create hard links is called ln(1) and not link.
-rw-r--r--regress/sys/ffs/tests/link/05.t2
-rw-r--r--regress/sys/ffs/tests/link/15.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/ffs/tests/link/05.t b/regress/sys/ffs/tests/link/05.t
index 50f829c64e9..6e68dabdfad 100644
--- a/regress/sys/ffs/tests/link/05.t
+++ b/regress/sys/ffs/tests/link/05.t
@@ -15,7 +15,7 @@ mount /dev/vnd1c ${n0}
expect 0 create ${n0}/${n1} 0644
i=1
while :; do
- link ${n0}/${n1} ${n0}/${i}
+ ln ${n0}/${n1} ${n0}/${i}
if [ $? -ne 0 ]; then
break
fi
diff --git a/regress/sys/ffs/tests/link/15.t b/regress/sys/ffs/tests/link/15.t
index c9f7fe78a4b..f5be8a48c3b 100644
--- a/regress/sys/ffs/tests/link/15.t
+++ b/regress/sys/ffs/tests/link/15.t
@@ -15,7 +15,7 @@ mount /dev/vnd1c ${n0}
expect 0 create ${n0}/${n1} 0644
i=0
while :; do
- link ${n0}/${n1} ${n0}/${i}
+ ln ${n0}/${n1} ${n0}/${i} 2>/dev/null
if [ $? -ne 0 ]; then
break
fi