]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove the `cp -bdl symlink foo' case.
authorJim Meyering <jim@meyering.net>
Tue, 5 Sep 2000 12:02:40 +0000 (12:02 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 5 Sep 2000 12:02:40 +0000 (12:02 +0000)
since it's no longer portable (hard link to a symlink).

tests/cp/same-file

index 0a799b141abb2f547578c0d850242ea5083f9294..aeec21022809c8e45c112318bae0a85cd3c6d49a 100755 (executable)
@@ -39,8 +39,11 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
                 -l -dl -fl -dfl -bl -bdl -bfl -bdfl; do
     case $args$options in
       # These tests are not portable.
+      # They all involve making a hard link to a symbolic link.
       'symlink foo'-dfl)
        continue;;
+      'symlink foo'-bdl)
+       continue;;
       'symlink foo'-bdfl)
        continue;;
       'sl1 sl2'-dfl)
@@ -125,7 +128,6 @@ cat <<\EOF > $expected
 0 -dl (foo symlink -> foo)
 0 -fl (foo symlink -> foo)
 0 -bl (foo symlink -> foo)
-0 -bdl (foo -> foo foo.~1~ symlink -> foo) symlink-loop symlink-loop
 0 -bfl (foo symlink -> foo)
 
 1 [cp: `foo' and `foo' are the same file] (foo)