summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-10-14 04:18:11 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-10-14 04:18:11 (GMT)
commit087da3d5c9fe50ca0670ce7ef744423316bff024 (patch)
tree8a9fd78b0ed823d7f7e7cac456f26592522fde1c /tools
parentf102816b0f9aff886c460f3889cdca1be003ec65 (diff)
downloadhdf5-087da3d5c9fe50ca0670ce7ef744423316bff024.zip
hdf5-087da3d5c9fe50ca0670ce7ef744423316bff024.tar.gz
hdf5-087da3d5c9fe50ca0670ce7ef744423316bff024.tar.bz2
[svn-r9418] Bug fix (bug 205).
The script does not use $RUNSERIAL to execute programs. This failed badly in parallel systems like Tflops. Patched $RUNSERIAL in to make it work. Tested in tflops only.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5jam/testh5jam.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5jam/testh5jam.sh.in b/tools/h5jam/testh5jam.sh.in
index 88e9a7c..e12f44e 100644
--- a/tools/h5jam/testh5jam.sh.in
+++ b/tools/h5jam/testh5jam.sh.in
@@ -24,7 +24,7 @@ DUMPER=h5dump # The dumper to use
DUMPER_BIN=`pwd`/../$DUMPER # The path of the dumper binary
JAM=h5jam # Tool to test
UNJAM=h5unjam # Tool to test
-JAM_BIN=`pwd` # The path of the jam binary
+JAM_BIN="$RUNSERIAL "`pwd` # The path of the jam binary
UNJAM_BIN=`pwd` # The path of the jam binary
CMP='cmp -s'
@@ -186,7 +186,7 @@ CHECK_UB_1() {
else
cmpfile="tt2"
size=`expr $s2 + $s1`
- ./getub -c $s2 $origfile > $cmpfile
+ $JAM_BIN/getub -c $s2 $origfile > $cmpfile
cat $ufile >> $cmpfile
fi
else
@@ -199,7 +199,7 @@ CHECK_UB_1() {
# Extract 'size' bytes from the front of 'hfile'
# Compare to 'cmpfile', result is set in result1
tfile="tt1"
- ./getub -c $size $hfile > $tfile
+ $JAM_BIN/getub -c $size $hfile > $tfile
res=`cmp $cmpfile $tfile`
if [ "$?" != "0" ];
then