1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-14 06:03:46 +02:00

* tests/mv/hard-3: Correct the preceding change: $3 -> $2.

This commit is contained in:
Jim Meyering
2007-03-22 22:11:03 +01:00
parent 826ff082db
commit 25cdc8248d
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
2007-03-22 Jim Meyering <jim@meyering.net>
* tests/mv/hard-3: Correct the preceding change: $3 -> $2.
2007-03-22 Paul Eggert <eggert@cs.ucla.edu>
Improve a test script.
+3 -3
View File
@@ -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