diff --git a/tools/testh5dump.sh b/tools/testh5dump.sh index 1110fa40e6..070510780e 100755 --- a/tools/testh5dump.sh +++ b/tools/testh5dump.sh @@ -18,7 +18,7 @@ mkdir testfiles >/dev/null 2>&1 TESTING() { SPACES=" " - echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\n' + echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\012' } # Run a test and print PASS or *FAIL*. If a test fails then increment diff --git a/tools/testh5toh4 b/tools/testh5toh4 index d255e3dd26..97586d79c8 100644 --- a/tools/testh5toh4 +++ b/tools/testh5toh4 @@ -38,7 +38,7 @@ verbose=yes TESTING() { SPACES=" " - echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\n' + echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\012' } # Run a test and print PASS or *FAIL*. If a test fails then increment