summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/ln/misc8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/ln/misc b/tests/ln/misc
index 6fe436301..73e5bc909 100755
--- a/tests/ln/misc
+++ b/tests/ln/misc
@@ -94,8 +94,12 @@ ln b b~ || test_failure=1
ln -V simple -f -b a b || fail=1
# Create a hard link to a dangling symlink.
-ln -s /no-such-dir || fail=1
-ln no-such-dir hard-to-dangle || fail=1
+# This is not portable. At least sunos4.1.4 fails this test. It gets
+# ln: cannot create hard link `hard-to-dangle' to `no-such-dir': \
+# No such file or directory
+#
+#ln -s /no-such-dir || fail=1
+#ln no-such-dir hard-to-dangle || fail=1
cd ..
../../src/rm -rf $tmp