summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-06-16 02:06:25 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-06-16 02:06:25 (GMT)
commit231e8a2e96a05d39f7cb98f317ab400ba6375826 (patch)
treee800755e6b3aad19ac0f7fd0720fc729a45f50d6
parent004cf630d5b573d5dbe89b1164a5f32098af69dd (diff)
downloadhdf5-231e8a2e96a05d39f7cb98f317ab400ba6375826.zip
hdf5-231e8a2e96a05d39f7cb98f317ab400ba6375826.tar.gz
hdf5-231e8a2e96a05d39f7cb98f317ab400ba6375826.tar.bz2
[svn-r1352] Changed the '\n' argument to '\012' since some other machines (solaris,
irix) misinterpreted it to mean deleting the letter 'n'. Tested in IRIX and solaris and FreeBSD machines.
-rwxr-xr-xtools/testh5dump.sh2
-rw-r--r--tools/testh5toh42
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/testh5dump.sh b/tools/testh5dump.sh
index 1110fa4..0705107 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 d255e3d..97586d7 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