summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-02-16 20:38:32 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-02-16 20:38:32 (GMT)
commit3a6c7fe6314a94c5abfcb0c84d04e3a9bc51706d (patch)
treed5beeeb82c275f33755b7e756e6a12e9a4072221 /tools
parent925a56fbb5936c184b1b7e65e522860d4a68854c (diff)
downloadhdf5-3a6c7fe6314a94c5abfcb0c84d04e3a9bc51706d.zip
hdf5-3a6c7fe6314a94c5abfcb0c84d04e3a9bc51706d.tar.gz
hdf5-3a6c7fe6314a94c5abfcb0c84d04e3a9bc51706d.tar.bz2
[svn-r3426] Description:
Some fixes were wiped out by Bob's commit. Recovered the changes.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testh5dump.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testh5dump.sh b/tools/testh5dump.sh
index e9c8d86..af2d26d 100755
--- a/tools/testh5dump.sh
+++ b/tools/testh5dump.sh
@@ -19,7 +19,7 @@ if test -z "$srcdir"; then
srcdir=.
fi
-mkdir testfiles >/dev/null 2>&1
+test -d testfiles || mkdir testfiles
# Print a line-line message left justified in a field of 70 characters
# beginning with the word "Testing".
@@ -50,8 +50,8 @@ TOOLTEST() {
echo "Expected output for '$DUMPER $@'"
echo "#############################"
cd $srcdir/testfiles
- $RUNSERIAL $DUMPER_BIN "$@" 2>&1
- ) >$actual
+ $RUNSERIAL $DUMPER_BIN "$@"
+ ) >$actual 2>&1
if $CMP $expect $actual; then
echo " PASSED"