diff options
author | Jim Meyering <meyering@redhat.com> | 2008-08-30 22:23:33 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-08-30 22:30:51 +0200 |
commit | e369818f113245f139357365fb8a46ed858eb782 (patch) | |
tree | f914c0dc76532433dc696826220b548705d6b798 | |
parent | 9385df57e3b955a1d029ddfef43b6fd6e7d37419 (diff) | |
download | idutils-e369818f113245f139357365fb8a46ed858eb782.tar.gz idutils-e369818f113245f139357365fb8a46ed858eb782.tar.bz2 idutils-e369818f113245f139357365fb8a46ed858eb782.zip |
tests: adjust failure diagnostic to match reality
* testsuite/consistency: Correct suffix, s/xtokid/xti/ in diagnostics.
Also fix a double temp-file naming bug: s/fid/lid/g.
-rwxr-xr-x | testsuite/consistency | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/consistency b/testsuite/consistency index fc3def8..3c5f849 100755 --- a/testsuite/consistency +++ b/testsuite/consistency @@ -42,8 +42,8 @@ if eval $cmd; then echo "Good. xtokid and lid agree." else mv ID.xti ID.bad-xti - mv ID.fid ID.bad-fid - 1>&2 echo "Oops! xtokid and lid disagree--look in ID.bad-{xtokid,lid}" + mv ID.lid ID.bad-lid + 1>&2 echo "Oops! xtokid and lid disagree--look in ID.bad-{xti,lid}" errors=t fi @@ -58,7 +58,7 @@ if eval $cmd; then then echo "Good. xtokid and fid agree for $file" else - 1>&2 echo "Oops! xtokid and fid disagree for $file--look in $file.bad-{xtokid,fid}" + 1>&2 echo "Oops! xtokid and fid disagree for $file--look in $file.bad-{xti,fid}" mv $xtokid_file $file.bad-xti mv $fid_file $file.bad-fid errors=t |