summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/testh5ls.sh
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:24:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:24:37 (GMT)
commit4401a71f3aa8e4c80fccd21787bfbd3edbbaefb6 (patch)
treecd03d9500f318e216927a2595fe38312f6583231 /tools/h5ls/testh5ls.sh
parent212a9529b0fa9aa04c5433daa20fe4e6188c016e (diff)
downloadhdf5-4401a71f3aa8e4c80fccd21787bfbd3edbbaefb6.zip
hdf5-4401a71f3aa8e4c80fccd21787bfbd3edbbaefb6.tar.gz
hdf5-4401a71f3aa8e4c80fccd21787bfbd3edbbaefb6.tar.bz2
[svn-r7004] Purpose:
Bug fix Description: The output from the modification time is highly system dependent, so remove it from the h5ls output before comparing file with diff. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'tools/h5ls/testh5ls.sh')
-rwxr-xr-xtools/h5ls/testh5ls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5ls/testh5ls.sh b/tools/h5ls/testh5ls.sh
index a813b49..37581f7 100755
--- a/tools/h5ls/testh5ls.sh
+++ b/tools/h5ls/testh5ls.sh
@@ -60,7 +60,7 @@ TOOLTEST() {
echo "#############################"
cd $srcdir/../testfiles
$RUNSERIAL $H5LS_BIN "$@"
- ) >$actual 2>&1
+ ) 2>&1 |sed 's/Modified:.*/Modified: XXXX-XX-XX XX:XX:XX XXX/' >$actual
exitcode=$?
if [ $exitcode -ne 0 ]; then