From: Jim Meyering Date: Thu, 22 Mar 2007 21:11:03 +0000 (+0100) Subject: * tests/mv/hard-3: Correct the preceding change: $3 -> $2. X-Git-Tag: COREUTILS-6_9~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25cdc8248d0a22bacaf9332e30e200966217b949;p=thirdparty%2Fcoreutils.git * tests/mv/hard-3: Correct the preceding change: $3 -> $2. --- diff --git a/ChangeLog b/ChangeLog index 10e34552bb..1648c16767 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-22 Jim Meyering + + * tests/mv/hard-3: Correct the preceding change: $3 -> $2. + 2007-03-22 Paul Eggert Improve a test script. diff --git a/tests/mv/hard-3 b/tests/mv/hard-3 index b912da34f8..ce8372840e 100755 --- a/tests/mv/hard-3 +++ b/tests/mv/hard-3 @@ -78,12 +78,12 @@ test -f x/b || fail=1 test -f c || fail=1 # The i-node numbers of a and c must be the same. -ia=`ls -i a` || fail=1; set x $ia; ia=$3 -ic=`ls -i c` || fail=1; set x $ic; ic=$3 +ia=`ls -i a` || fail=1; set x $ia; ia=$2 +ic=`ls -i c` || fail=1; set x $ic; ic=$2 test "$ia" = "$ic" || fail=1 # The i-node number of x/b must be different. -ib=`ls -i x/b` || fail=1; set x $ib; ib=$3 +ib=`ls -i x/b` || fail=1; set x $ib; ib=$2 test "$ia" = "$ib" && fail=1 (exit $fail); exit $fail