summaryrefslogtreecommitdiffstats
path: root/test/testerror.sh
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-10 16:50:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-10 16:50:51 (GMT)
commit671ba90ce4540284c2b995ab8a365f4af904cdee (patch)
tree1fde6b9f750ab7a5929a7e0481d030f0bedebe5b /test/testerror.sh
parente71e53c743caabe34a894f250fde4e2b7526c33e (diff)
downloadhdf5-671ba90ce4540284c2b995ab8a365f4af904cdee.zip
hdf5-671ba90ce4540284c2b995ab8a365f4af904cdee.tar.gz
hdf5-671ba90ce4540284c2b995ab8a365f4af904cdee.tar.bz2
[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:
Diffstat (limited to 'test/testerror.sh')
-rw-r--r--test/testerror.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testerror.sh b/test/testerror.sh
index 9784de9..6184f4e 100644
--- a/test/testerror.sh
+++ b/test/testerror.sh
@@ -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