summaryrefslogtreecommitdiffstats
path: root/tools/test/h5dump/h5dump_plugin.sh.in
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-18 17:22:19 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-18 17:22:19 (GMT)
commit9c255bc995a9cc2b7b328507a759cc059427c839 (patch)
treeb7770fe608f74a8a70c7d66c277e81d4db3d3a96 /tools/test/h5dump/h5dump_plugin.sh.in
parentc52349014739af2d05d5734fe2eab105f01e92d5 (diff)
downloadhdf5-9c255bc995a9cc2b7b328507a759cc059427c839.zip
hdf5-9c255bc995a9cc2b7b328507a759cc059427c839.tar.gz
hdf5-9c255bc995a9cc2b7b328507a759cc059427c839.tar.bz2
Normalization of tools with develop
Diffstat (limited to 'tools/test/h5dump/h5dump_plugin.sh.in')
-rw-r--r--tools/test/h5dump/h5dump_plugin.sh.in28
1 files changed, 14 insertions, 14 deletions
diff --git a/tools/test/h5dump/h5dump_plugin.sh.in b/tools/test/h5dump/h5dump_plugin.sh.in
index 6a00a16..d940ab3 100644
--- a/tools/test/h5dump/h5dump_plugin.sh.in
+++ b/tools/test/h5dump/h5dump_plugin.sh.in
@@ -181,8 +181,8 @@ TOOLTEST() {
# Run test.
TESTING $H5DUMP $@
(
- cd $TESTDIR
- $ENVCMD $RUNSERIAL $H5DUMP_BIN "$@"
+ cd $TESTDIR
+ $ENVCMD $RUNSERIAL $H5DUMP_BIN "$@"
) >$actual 2>$actual_err
# save actual and actual_err in case they are needed later.
@@ -192,24 +192,24 @@ TOOLTEST() {
STDERR_FILTER $actual_err
cat $actual_err >> $actual
- if [ ! -f $expect ]; then
- # Create the expect file if it doesn't yet exist.
- echo " CREATED"
- cp $actual $expect
- echo " Expected result (*.ddl) missing"
- nerrors="`expr $nerrors + 1`"
+ if [ ! -f $expect ]; then
+ # Create the expect file if it doesn't yet exist.
+ echo " CREATED"
+ cp $actual $expect
+ echo " Expected result (*.ddl) missing"
+ nerrors="`expr $nerrors + 1`"
elif $CMP $expect $actual > /dev/null 2>&1 ; then
- echo " PASSED"
+ echo " PASSED"
else
- echo "*FAILED*"
- echo " Expected result (*.ddl) differs from actual result (*.out)"
- nerrors="`expr $nerrors + 1`"
- test yes = "$verbose" && $DIFF $caseless $expect $actual |sed 's/^/ /'
+ echo "*FAILED*"
+ echo " Expected result (*.ddl) differs from actual result (*.out)"
+ nerrors="`expr $nerrors + 1`"
+ test yes = "$verbose" && $DIFF $caseless $expect $actual |sed 's/^/ /'
fi
# Clean up output file
if test -z "$HDF5_NOCLEANUP"; then
- rm -f $actual $actual_err $actual_sav $actual_err_sav $actual_ext
+ rm -f $actual $actual_err $actual_sav $actual_err_sav $actual_ext
fi
}