summaryrefslogtreecommitdiffstats
path: root/tools/testh5toh4
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-10-13 02:32:25 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-10-13 02:32:25 (GMT)
commitfcfecf9ff20c670eab5cce89700348a37da368a7 (patch)
treea44ff90b4ad0cb3e9ed6d364c082c8f927838757 /tools/testh5toh4
parentf53e72cc9f5f8d188926d425e9970b35b523115c (diff)
downloadhdf5-fcfecf9ff20c670eab5cce89700348a37da368a7.zip
hdf5-fcfecf9ff20c670eab5cce89700348a37da368a7.tar.gz
hdf5-fcfecf9ff20c670eab5cce89700348a37da368a7.tar.bz2
[svn-r2680] Purpose:
Bug fix (ID 419) Description: Converted strings class types (in dataset and attributes) to HDF4 type of DFNT_INT8. Should have been DFNT_CHAR type. Solution: h5toh4.c: Changed the HDF4 type from DFNT_INT8 to DFNT_CHAR type. Converted all hdf5 strings (be it NULLTERM, NULLPAD, SPACEPAD) all to fixed width space padded HDF4 DFNT_CHAR. testh5toh4: Added the testing of $HDF_NOCLEANUP before cleaning away the result files. testfiles/Expected/tattr.hdf: testfiles/Expected/tstr.hdf: testfiles/Expected/tstr2.hdf: Updated with the corrected DFNT_CHAR type. Platforms tested: Solaris 2.7, Linux, Irix 6.5.
Diffstat (limited to 'tools/testh5toh4')
-rw-r--r--tools/testh5toh44
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testh5toh4 b/tools/testh5toh4
index af224ff..7e4e0f2 100644
--- a/tools/testh5toh4
+++ b/tools/testh5toh4
@@ -295,5 +295,7 @@ if test $nerrors -eq 0 ; then
echo "All h5toh4 tests passed."
fi
-$RM -r $OUTDIR
+if test -z "$HDF5_NOCLEANUP"; then
+ $RM -r $OUTDIR
+fi
exit $nerrors