diff --git a/tests/grib_indexing.sh b/tests/grib_indexing.sh index b1db6b2f3..1a4a05090 100755 --- a/tests/grib_indexing.sh +++ b/tests/grib_indexing.sh @@ -30,7 +30,7 @@ rm -f out.gribidx $temp tempIndex=temp.$label.$$.idx tempOut=temp.$label.$$.out tempRef=temp.$label.$$.ref -${tools_dir}/grib_index_build -o $tempIndex ${infile} >/dev/null +${tools_dir}/grib_index_build -N -o $tempIndex ${infile} >/dev/null # Must remove first two lines and the last (filename specifics) ${tools_dir}/grib_dump -D ${tempIndex} | sed '1,2d' | sed '$d' > $tempOut @@ -38,23 +38,63 @@ cat $tempOut cat > $tempRef < $tempGribFile1 cat ${data_dir}/sample.grib2 ${data_dir}/high_level_api.grib2 > $tempGribFile2 -${tools_dir}/grib_index_build -o $tempIndex1 $tempGribFile1 -${tools_dir}/grib_index_build -o $tempIndex2 $tempGribFile2 +${tools_dir}/grib_index_build -N -o $tempIndex1 $tempGribFile1 +${tools_dir}/grib_index_build -N -o $tempIndex2 $tempGribFile2 ${tools_dir}/grib_compare $tempIndex1 $tempIndex2 rm -f $tempIndex1 $tempIndex2 $tempGribFile1 $tempGribFile2