diff options
Diffstat (limited to 'tests/cp/same-file')
-rwxr-xr-x | tests/cp/same-file | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file index 32f12608f..981f0768c 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -53,21 +53,25 @@ 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 0 foo -> foo foo.~1~ symlink -> foo symlink-loop symlink-loop 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 |