summaryrefslogtreecommitdiffstats
path: root/tools/testh5toh4
diff options
context:
space:
mode:
authorPaul Harten <pharten@ncsa.uiuc.edu>1998-12-21 04:05:28 (GMT)
committerPaul Harten <pharten@ncsa.uiuc.edu>1998-12-21 04:05:28 (GMT)
commitcaeb6c614fef11ec93ddda06eef1c35d566699ae (patch)
treed1ec07818306697fac73e09bf19e88b6026e4b00 /tools/testh5toh4
parent7d9d6add9d55fd056fc097dbcf91a2f2e6de71c9 (diff)
downloadhdf5-caeb6c614fef11ec93ddda06eef1c35d566699ae.zip
hdf5-caeb6c614fef11ec93ddda06eef1c35d566699ae.tar.gz
hdf5-caeb6c614fef11ec93ddda06eef1c35d566699ae.tar.bz2
[svn-r978] Purpose: Bug fixes
Problems: There were three separate bugs in the h5toh4 converter worked on. They were: 1) When a loop was detected, the H4 file was missing references to paths which were available in the H5 file. 2) When an H4 SDS or Vdata was created from a H5 dataset, the H4 object was referenced in the root group, instead of the correct Vgroup. 3) The FIRST path taken to an object for the h5toh4 conversion could not involve a SOFTLINK. Solutions: The bug fixes were: 1) All of the associated references to available paths which occur in the H5 file, now appear in the H4 file. 2) After an H4 SDS or Vdata is created from a H5 dataset, the H4 object is tag/ref'ed in the appropriate Vgroup. 3) The FIRST path taken to an H5 object for the H5toh4 conversion may involve a HARDLINK, a SOFTLINK, or neither. The same is true of any additional paths to the same object. Platform tested: Solaris2.5
Diffstat (limited to 'tools/testh5toh4')
-rw-r--r--tools/testh5toh418
1 files changed, 8 insertions, 10 deletions
diff --git a/tools/testh5toh4 b/tools/testh5toh4
index 22ea13b..e78c4fb 100644
--- a/tools/testh5toh4
+++ b/tools/testh5toh4
@@ -151,10 +151,6 @@ TEST()
;;
esac
-# if [ $noclean -eq 0 ]
-# then
-# $RM $output
-# fi
}
@@ -236,25 +232,27 @@ MESG 3 "$TestName"
$RM ./testfiles/*.hdf ./testfiles/*.tmp
TEST tgroup.h5
TEST tdset.h5
-TEST tdset2.h5
TEST tattr.h5
TEST tslink.h5
TEST thlink.h5
-TEST tcompound.h5
-TEST tcompound2.h5
TEST tall.h5
+TEST tdset2.h5
+TEST tcompound2.h5
+TEST tmany.h5
$RM ./testfiles/*.tmp
TEST tgroup.h5 tgroup.hdf
TEST tdset.h5 tdset.hdf
-TEST tdset2.h5 tdset2.hdf
TEST tattr.h5 tattr.hdf
TEST tslink.h5 tslink.hdf
TEST thlink.h5 thlink.hdf
TEST tcompound.h5 tcompound.hdf
-TEST tcompound2.h5 tcompound2.hdf
TEST tall.h5 tall.hdf
+TEST tdset2.h5 tdset2.hdf
+TEST tcompound2.h5 tcompound2.hdf
+TEST tmany.h5 tmany.hdf
$RM ./testfiles/*.hdf ./testfiles/*.tmp
-TEST -m tgroup.h5 tdset.h5 tdset2.h5 tattr.h5 tslink.h5 thlink.h5 tcompound.h5 tcompound2.h5 tall.h5
+TEST -m tgroup.h5 tdset.h5 tattr.h5 tslink.h5 thlink.h5 tcompound.h5 tall.h5
+TEST -m tdset2.h5 tcompound2.h5 tmany.h5
$RM ./testfiles/*.hdf ./testfiles/*.tmp
else
MESG 3 "$TestName <<<SKIPPED>>>"