[svn-r23976] The following files were missing from previous checkin rev #23975 for bug HDFFV-1238.

h5committested.
This commit is contained in:
Vailin Choi 2013-08-08 14:19:03 -05:00
parent c902bbdd90
commit f09101079e
17 changed files with 440 additions and 0 deletions

View File

@ -0,0 +1,47 @@
#############################
Expected output for 'h5stat -gd -m 5 h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
Small groups (with 0 to 9 links):
# of groups with 0 link(s): 1
# of groups with 7 link(s): 1
# of groups with 9 link(s): 1
Total # of small groups: 3
Group bins:
# of groups with 0 link: 1
# of groups with 1 - 9 links: 2
# of groups with 10 - 99 links: 1
Total # of groups: 4
Dataset dimension information:
Max. rank of datasets: 2
Dataset ranks:
# of dataset with rank 0: 2
# of dataset with rank 1: 20
# of dataset with rank 2: 1
1-D Dataset information:
Max. dimension size of 1-D datasets: 6
Small 1-D datasets (with dimension sizes 0 to 4):
# of datasets with dimension sizes 0: 1
Total # of small datasets: 1
1-D Dataset dimension bins:
# of datasets with dimension size 0: 1
# of datasets with dimension size 1 - 9: 19
Total # of datasets: 20
Dataset storage information:
Total raw data size: 0
Total external raw data size: 0
Dataset layout information:
Dataset layout counts[COMPACT]: 0
Dataset layout counts[CONTIG]: 23
Dataset layout counts[CHUNKED]: 0
Number of external files : 0
Dataset filters information:
Number of datasets with:
NO filter: 23
GZIP filter: 0
SHUFFLE filter: 0
FLETCHER32 filter: 0
SZIP filter: 0
NBIT filter: 0
SCALEOFFSET filter: 0
USER-DEFINED filter: 0

View File

@ -0,0 +1,38 @@
#############################
Expected output for 'h5stat -d --di=15 h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
Dataset dimension information:
Max. rank of datasets: 2
Dataset ranks:
# of dataset with rank 0: 2
# of dataset with rank 1: 20
# of dataset with rank 2: 1
1-D Dataset information:
Max. dimension size of 1-D datasets: 6
Small 1-D datasets (with dimension sizes 0 to 14):
# of datasets with dimension sizes 0: 1
# of datasets with dimension sizes 6: 19
Total # of small datasets: 20
1-D Dataset dimension bins:
# of datasets with dimension size 0: 1
# of datasets with dimension size 1 - 9: 19
Total # of datasets: 20
Dataset storage information:
Total raw data size: 0
Total external raw data size: 0
Dataset layout information:
Dataset layout counts[COMPACT]: 0
Dataset layout counts[CONTIG]: 23
Dataset layout counts[CHUNKED]: 0
Number of external files : 0
Dataset filters information:
Number of datasets with:
NO filter: 23
GZIP filter: 0
SHUFFLE filter: 0
FLETCHER32 filter: 0
SZIP filter: 0
NBIT filter: 0
SCALEOFFSET filter: 0
USER-DEFINED filter: 0

View File

@ -0,0 +1,4 @@
#############################
Expected output for 'h5stat -d --dims=-1 h5stat_threshold.h5'
#############################
h5stat error: Invalid threshold for small datasets

View File

@ -0,0 +1,4 @@
#############################
Expected output for 'h5stat -l 0 h5stat_threshold.h5'
#############################
h5stat error: Invalid threshold for small groups

View File

@ -0,0 +1,4 @@
#############################
Expected output for 'h5stat -a -2 h5stat_threshold.h5'
#############################
h5stat error: Invalid threshold for small # of attributes

View File

@ -0,0 +1,4 @@
#############################
Expected output for 'h5stat --numattrs h5stat_threshold.h5'
#############################
h5stat error: Invalid threshold for small # of attributes

View File

@ -0,0 +1,13 @@
#############################
Expected output for 'h5stat -g -l 8 h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
Small groups (with 0 to 7 links):
# of groups with 0 link(s): 1
# of groups with 7 link(s): 1
Total # of small groups: 2
Group bins:
# of groups with 0 link: 1
# of groups with 1 - 9 links: 2
# of groups with 10 - 99 links: 1
Total # of groups: 4

View File

@ -0,0 +1,107 @@
#############################
Expected output for 'h5stat --links=8 h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
File information
# of unique groups: 4
# of unique datasets: 23
# of unique named datatypes: 0
# of unique links: 0
# of unique other: 0
Max. # of links to object: 1
Max. # of objects in group: 10
File space information for file metadata (in bytes):
Superblock: 96
Superblock extension: 0
User block: 0
Object headers: (total/unused)
Groups: 3576/0
Datasets(exclude compact data): 7896/2912
Datatypes: 0/0
Groups:
B-tree/List: 3816
Heap: 744
Attributes:
B-tree/List: 0
Heap: 0
Chunked datasets:
Index: 0
Datasets:
Heap: 0
Shared Messages:
Header: 0
B-tree/List: 0
Heap: 0
Free-space managers:
Header: 0
Amount of free space: 0
Small groups (with 0 to 7 links):
# of groups with 0 link(s): 1
# of groups with 7 link(s): 1
Total # of small groups: 2
Group bins:
# of groups with 0 link: 1
# of groups with 1 - 9 links: 2
# of groups with 10 - 99 links: 1
Total # of groups: 4
Dataset dimension information:
Max. rank of datasets: 2
Dataset ranks:
# of dataset with rank 0: 2
# of dataset with rank 1: 20
# of dataset with rank 2: 1
1-D Dataset information:
Max. dimension size of 1-D datasets: 6
Small 1-D datasets (with dimension sizes 0 to 9):
# of datasets with dimension sizes 0: 1
# of datasets with dimension sizes 6: 19
Total # of small datasets: 20
1-D Dataset dimension bins:
# of datasets with dimension size 0: 1
# of datasets with dimension size 1 - 9: 19
Total # of datasets: 20
Dataset storage information:
Total raw data size: 0
Total external raw data size: 0
Dataset layout information:
Dataset layout counts[COMPACT]: 0
Dataset layout counts[CONTIG]: 23
Dataset layout counts[CHUNKED]: 0
Number of external files : 0
Dataset filters information:
Number of datasets with:
NO filter: 23
GZIP filter: 0
SHUFFLE filter: 0
FLETCHER32 filter: 0
SZIP filter: 0
NBIT filter: 0
SCALEOFFSET filter: 0
USER-DEFINED filter: 0
Dataset datatype information:
# of unique datatypes used by datasets: 1
Dataset datatype #0:
Count (total/named) = (23/0)
Size (desc./elmt) = (14/1)
Total dataset datatype count: 23
Small # of attributes (objects with 1 to 10 attributes):
# of objects with 1 attributes: 2
# of objects with 10 attributes: 1
Total # of objects with small # of attributes: 3
Attribute bins:
# of objects with 1 - 9 attributes: 2
# of objects with 10 - 99 attributes: 3
Total # of objects with attributes: 5
Max. # of attributes to objects: 25
Free-space section threshold: 1 bytes
Small size free-space sections (< 10 bytes):
Total # of small size sections: 0
Free-space section bins:
Total # of sections: 0
File space management strategy: H5F_FILE_SPACE_ALL
Summary of file space information:
File metadata: 16128 bytes
Raw data: 0 bytes
Amount/Percent of tracked free space: 0 bytes/0.0%
Unaccounted space: 184 bytes
Total space: 16312 bytes

View File

@ -0,0 +1,15 @@
#############################
Expected output for 'h5stat --links=20 -g h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
Small groups (with 0 to 19 links):
# of groups with 0 link(s): 1
# of groups with 7 link(s): 1
# of groups with 9 link(s): 1
# of groups with 10 link(s): 1
Total # of small groups: 4
Group bins:
# of groups with 0 link: 1
# of groups with 1 - 9 links: 2
# of groups with 10 - 99 links: 1
Total # of groups: 4

View File

@ -0,0 +1,11 @@
#############################
Expected output for 'h5stat -g h5stat_newgrat.h5'
#############################
Filename: h5stat_newgrat.h5
Small groups (with 0 to 9 links):
# of groups with 0 link(s): 35000
Total # of small groups: 35000
Group bins:
# of groups with 0 link: 35000
# of groups with 10000 - 99999 links: 1
Total # of groups: 35001

View File

@ -0,0 +1,12 @@
#############################
Expected output for 'h5stat -g -l 40000 h5stat_newgrat.h5'
#############################
Filename: h5stat_newgrat.h5
Small groups (with 0 to 39999 links):
# of groups with 0 link(s): 35000
# of groups with 35001 link(s): 1
Total # of small groups: 35001
Group bins:
# of groups with 0 link: 35000
# of groups with 10000 - 99999 links: 1
Total # of groups: 35001

View File

@ -0,0 +1,28 @@
#############################
Expected output for 'h5stat '
#############################
Usage: h5stat [OPTIONS] file
OPTIONS
-h, --help Print a usage message and exit
-V, --version Print version number and exit
-f, --file Print file information
-F, --filemetadata Print file space information for file's metadata
-g, --group Print group information
-l N, --links=N Set the threshold for the # of links when printing
information for small groups. N is an integer greater
than 0. The default threshold is 10.
-G, --groupmetadata Print file space information for groups' metadata
-d, --dset Print dataset information
-m N, --dims=N Set the threshold for the dimension sizes when printing
information for small datasets. N is an integer greater
than 0. The default threshold is 10.
-D, --dsetmetadata Print file space information for datasets' metadata
-T, --dtypemetadata Print datasets' datatype information
-A, --attribute Print attribute information
-a N, --numattrs=N Set the threshold for the # of attributes when printing
information for small # of attributes. N is an integer greater
than 0. The default threshold is 10.
-s, --freespace Print free space information
-S, --summary Print summary of file space information
h5stat error: missing file name

View File

@ -0,0 +1,20 @@
#############################
Expected output for 'h5stat -AS -a 10 h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
Small # of attributes (objects with 1 to 10 attributes):
# of objects with 1 attributes: 2
# of objects with 10 attributes: 1
Total # of objects with small # of attributes: 3
Attribute bins:
# of objects with 1 - 9 attributes: 2
# of objects with 10 - 99 attributes: 3
Total # of objects with attributes: 5
Max. # of attributes to objects: 25
File space management strategy: H5F_FILE_SPACE_ALL
Summary of file space information:
File metadata: 16128 bytes
Raw data: 0 bytes
Amount/Percent of tracked free space: 0 bytes/0.0%
Unaccounted space: 184 bytes
Total space: 16312 bytes

View File

@ -0,0 +1,107 @@
#############################
Expected output for 'h5stat -a 1 h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
File information
# of unique groups: 4
# of unique datasets: 23
# of unique named datatypes: 0
# of unique links: 0
# of unique other: 0
Max. # of links to object: 1
Max. # of objects in group: 10
File space information for file metadata (in bytes):
Superblock: 96
Superblock extension: 0
User block: 0
Object headers: (total/unused)
Groups: 3576/0
Datasets(exclude compact data): 7896/2912
Datatypes: 0/0
Groups:
B-tree/List: 3816
Heap: 744
Attributes:
B-tree/List: 0
Heap: 0
Chunked datasets:
Index: 0
Datasets:
Heap: 0
Shared Messages:
Header: 0
B-tree/List: 0
Heap: 0
Free-space managers:
Header: 0
Amount of free space: 0
Small groups (with 0 to 9 links):
# of groups with 0 link(s): 1
# of groups with 7 link(s): 1
# of groups with 9 link(s): 1
Total # of small groups: 3
Group bins:
# of groups with 0 link: 1
# of groups with 1 - 9 links: 2
# of groups with 10 - 99 links: 1
Total # of groups: 4
Dataset dimension information:
Max. rank of datasets: 2
Dataset ranks:
# of dataset with rank 0: 2
# of dataset with rank 1: 20
# of dataset with rank 2: 1
1-D Dataset information:
Max. dimension size of 1-D datasets: 6
Small 1-D datasets (with dimension sizes 0 to 9):
# of datasets with dimension sizes 0: 1
# of datasets with dimension sizes 6: 19
Total # of small datasets: 20
1-D Dataset dimension bins:
# of datasets with dimension size 0: 1
# of datasets with dimension size 1 - 9: 19
Total # of datasets: 20
Dataset storage information:
Total raw data size: 0
Total external raw data size: 0
Dataset layout information:
Dataset layout counts[COMPACT]: 0
Dataset layout counts[CONTIG]: 23
Dataset layout counts[CHUNKED]: 0
Number of external files : 0
Dataset filters information:
Number of datasets with:
NO filter: 23
GZIP filter: 0
SHUFFLE filter: 0
FLETCHER32 filter: 0
SZIP filter: 0
NBIT filter: 0
SCALEOFFSET filter: 0
USER-DEFINED filter: 0
Dataset datatype information:
# of unique datatypes used by datasets: 1
Dataset datatype #0:
Count (total/named) = (23/0)
Size (desc./elmt) = (14/1)
Total dataset datatype count: 23
Small # of attributes (objects with 1 to 1 attributes):
# of objects with 1 attributes: 2
Total # of objects with small # of attributes: 2
Attribute bins:
# of objects with 1 - 9 attributes: 2
# of objects with 10 - 99 attributes: 3
Total # of objects with attributes: 5
Max. # of attributes to objects: 25
Free-space section threshold: 1 bytes
Small size free-space sections (< 10 bytes):
Total # of small size sections: 0
Free-space section bins:
Total # of sections: 0
File space management strategy: H5F_FILE_SPACE_ALL
Summary of file space information:
File metadata: 16128 bytes
Raw data: 0 bytes
Amount/Percent of tracked free space: 0 bytes/0.0%
Unaccounted space: 184 bytes
Total space: 16312 bytes

View File

@ -0,0 +1,15 @@
#############################
Expected output for 'h5stat -A --numattrs=25 h5stat_threshold.h5'
#############################
Filename: h5stat_threshold.h5
Small # of attributes (objects with 1 to 25 attributes):
# of objects with 1 attributes: 2
# of objects with 10 attributes: 1
# of objects with 11 attributes: 1
# of objects with 25 attributes: 1
Total # of objects with small # of attributes: 5
Attribute bins:
# of objects with 1 - 9 attributes: 2
# of objects with 10 - 99 attributes: 3
Total # of objects with attributes: 5
Max. # of attributes to objects: 25

View File

@ -0,0 +1,11 @@
#############################
Expected output for 'h5stat -A -a 100 h5stat_newgrat.h5'
#############################
Filename: h5stat_newgrat.h5
Small # of attributes (objects with 1 to 100 attributes):
# of objects with 100 attributes: 1
Total # of objects with small # of attributes: 1
Attribute bins:
# of objects with 100 - 999 attributes: 1
Total # of objects with attributes: 1
Max. # of attributes to objects: 100

Binary file not shown.