]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 27 Jun 1998 20:22:36 +0000 (20:22 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 27 Jun 1998 20:22:36 +0000 (20:22 +0000)
tests/cp/same-file

index 32f12608f78310da1c46729b88751cf789d2e936..981f0768c758292afaf055fc9760d1326b250c7f 100755 (executable)
@@ -53,9 +53,11 @@ done
 cat <<\EOF > $expected
 1 [cp: `foo' and `symlink' are the same file] foo symlink -> foo
 0 foo symlink symlink.~1~ -> foo
+1 [cp: `foo' and `symlink' are the same file] foo symlink -> foo
 0 foo symlink symlink.~1~ -> foo
 0 foo symlink symlink.~1~ -> foo
 
+1 [cp: `symlink' and `foo' are the same file] foo symlink -> foo
 1 [cp: `symlink' and `foo' are the same file] foo symlink -> foo
 1 [cp: `symlink' and `foo' are the same file] foo symlink -> foo
 0 foo -> foo foo.~1~ symlink -> foo symlink-loop symlink-loop
@@ -64,10 +66,12 @@ cat <<\EOF > $expected
 1 [cp: `foo' and `foo' are the same file] foo
 1 [cp: `foo' and `foo' are the same file] foo
 1 [cp: `foo' and `foo' are the same file] foo
+1 [cp: `foo' and `foo' are the same file] foo
 0 foo foo.~1~
 
 1 [cp: `sl1' and `sl2' are the same file] foo sl1 -> foo sl2 -> foo
 0 foo sl1 -> foo sl2 sl2.~1~ -> foo
+1 [cp: `sl1' and `sl2' are the same file] foo sl1 -> foo sl2 -> foo
 0 foo sl1 -> foo sl2 -> foo sl2.~1~ -> foo
 0 foo sl1 -> foo sl2 -> foo sl2.~1~ -> foo