diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-31 18:51:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-31 18:51:08 +0000 |
commit | 9f0e21b7ca54b64d484fc2582d1b24a500caff17 (patch) | |
tree | 86f88d10c41e87123e0470018a6d718ee45f55cd | |
parent | 7442141536af58c26fe30c3bb1890e5722ef08f2 (diff) | |
download | coreutils-9f0e21b7ca54b64d484fc2582d1b24a500caff17.tar.xz |
new test: Create a hard link to a dangling symlink.
-rwxr-xr-x | tests/ln/misc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ln/misc b/tests/ln/misc index 45cedbcd7..6fe436301 100755 --- a/tests/ln/misc +++ b/tests/ln/misc @@ -93,6 +93,10 @@ touch a b || test_failure=1 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 + cd .. ../../src/rm -rf $tmp |