From afa54698c9b80fa02259511d8dd4ee3ffc2d7599 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 29 May 2000 21:05:22 +0000 Subject: Adapt to fit new semantics of `cp -d'. --- tests/cp/same-file | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/cp/same-file b/tests/cp/same-file index 5a0da5bf8..908fe2e71 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -130,7 +130,7 @@ cat <<\EOF > $expected 0 -bdfl (foo foo.~1~) 1 [cp: `sl1' and `sl2' are the same file] (foo sl1 -> foo sl2 -> foo) -1 -d [cp: `sl1' and `sl2' are the same file] (foo sl1 -> foo sl2 -> foo) +1 -d [cp: cannot create symbolic link `sl2': File exists] (foo sl1 -> foo sl2 -> foo) 0 -f (foo sl1 -> foo sl2) 0 -df (foo sl1 -> foo sl2 -> foo) 0 -b (foo sl1 -> foo sl2 sl2.~1~ -> foo) @@ -138,7 +138,7 @@ cat <<\EOF > $expected 0 -bf (foo sl1 -> foo sl2 sl2.~1~ -> foo) 0 -bdf (foo sl1 -> foo sl2 -> foo sl2.~1~ -> foo) 0 -l (foo sl1 -> foo sl2 -> foo) -0 -dl (foo sl1 -> foo sl2 -> foo) +1 -dl [cp: cannot create link `sl2': File exists] (foo sl1 -> foo sl2 -> foo) 0 -fl (foo sl1 -> foo sl2 -> foo) 0 -bl (foo sl1 -> foo sl2 -> foo) 0 -bfl (foo sl1 -> foo sl2 -> foo) @@ -163,7 +163,7 @@ cat <<\EOF > $expected EOF # Uncomment this if you see a failure and want to try to diagnose it. -# diff -u $expected $actual 1>&2 +diff -u $expected $actual 1>&2 cmp $expected $actual exit $? -- cgit v1.2.3-70-g09d2