summaryrefslogtreecommitdiffstats
path: root/tools/h5copy/testh5copy.sh
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-14 20:30:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-14 20:30:41 (GMT)
commitcec2dd60858ea736f050f1f2dccf229331d6cafc (patch)
treefac371c39224e684b2005c2eb193d4e149930c73 /tools/h5copy/testh5copy.sh
parent9c9bebf83993e9d35551a3d0f53f6d06a2f0cf9f (diff)
downloadhdf5-cec2dd60858ea736f050f1f2dccf229331d6cafc.zip
hdf5-cec2dd60858ea736f050f1f2dccf229331d6cafc.tar.gz
hdf5-cec2dd60858ea736f050f1f2dccf229331d6cafc.tar.bz2
[svn-r13306] Description:
Mask off the storage utilization for the h5ls output, so that the h5ls output is more portable (VL datatype size is reported as the memory size instead of the file size, making the storage utilization incorrect - entered in bugzilla) Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'tools/h5copy/testh5copy.sh')
-rw-r--r--tools/h5copy/testh5copy.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/h5copy/testh5copy.sh b/tools/h5copy/testh5copy.sh
index 792ad9f..e3cf67d 100644
--- a/tools/h5copy/testh5copy.sh
+++ b/tools/h5copy/testh5copy.sh
@@ -142,13 +142,16 @@ H5LSTEST()
# Stderr is included in stdout so that the diff can detect
# any unexpected output from that stream too.
+ #
+ # Note: The modification time and storage utilization are masked off
+ # so that the output is more portable
VERIFY_H5LS $@
(
echo "#############################"
echo "Expected output for '$H5LS $@'"
echo "#############################"
$RUNSERIAL $H5LS_BIN $H5LS_ARGS $@
- ) 2>&1 |sed 's/Modified:.*/Modified: XXXX-XX-XX XX:XX:XX XXX/' >$actual
+ ) 2>&1 |sed 's/Modified:.*/Modified: XXXX-XX-XX XX:XX:XX XXX/' |sed 's/Storage:.*/Storage: <details removed for portability>/' >$actual
if [ ! -f $expect ]; then