mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
89cca34b97
h5dump bug 701. Symptom: The creation of a hardlink pointing to the root group "/" causes h5dump to display it as a link pointing to itself. Cure: the root group was not being inserted in the table that keeps track of object names and links. Added a test for this in the test generation program, the creation of a hardlink to the root
31 lines
542 B
SQL
31 lines
542 B
SQL
#############################
|
|
Expected output for 'h5dump thlink.h5'
|
|
#############################
|
|
HDF5 "thlink.h5" {
|
|
GROUP "/" {
|
|
DATASET "dset1" {
|
|
DATATYPE H5T_STD_I32BE
|
|
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
|
DATA {
|
|
(0): 0, 1, 2, 3, 4
|
|
}
|
|
}
|
|
GROUP "g1" {
|
|
DATASET "dset2" {
|
|
HARDLINK "/dset1"
|
|
}
|
|
GROUP "g1.1" {
|
|
DATASET "dset3" {
|
|
HARDLINK "/dset1"
|
|
}
|
|
}
|
|
}
|
|
GROUP "g2" {
|
|
HARDLINK "/g1/g1.1"
|
|
}
|
|
GROUP "g3" {
|
|
HARDLINK "/"
|
|
}
|
|
}
|
|
}
|