[svn-r7922] Purpose:

Bug fix/code cleanup

Description:
    When an error occurs, assume that it will be in the "real" output file and
use that to display the diff against.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest

Misc. update:
This commit is contained in:
Quincey Koziol 2003-12-10 11:50:51 -05:00
parent e71e53c743
commit 671ba90ce4

View File

@ -75,7 +75,7 @@ TEST() {
echo "*FAILED*"
echo " Expected result differs from actual result"
nerrors="`expr $nerrors + 1`"
test yes = "$verbose" && $DIFF $expect $actual |sed 's/^/ /'
test yes = "$verbose" && $DIFF $expect1 $actual |sed 's/^/ /'
fi
# Clean up output file