diff --git a/tests/checksums b/tests/checksums index b04ac9f5..20bb735a 100755 --- a/tests/checksums +++ b/tests/checksums @@ -99,7 +99,7 @@ $topDir/multi_test DB_HDF5 1>/dev/null 2>&1 # offset=0 skip=0 -while [[ $offset -eq 0 && $skip -lt 9 ]]; do +while [ $offset -eq 0 && $skip -lt 9 ]; do offset=`od -j $skip -A d4 -t d4 h5_check_files/multi_ucd3d.h5 | tr '\t' ' ' | tr -s ' ' | grep '167 179 323 311' | cut -d' ' -f1` offset=`echo $offset | cut -d' ' -f1 | sed 's/^0*//'` skip=$(expr $skip + 1)