diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-09-26 20:46:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 20:46:55 (GMT) |
commit | 1529ec0ab3a348e17aab0e0ec97bb80adc4decc2 (patch) | |
tree | 5ec9e4feb2bf7888b9db7b8b28c6bc135dab3b16 /tools/test/h5ls | |
parent | a87ca572fed15303ad36adcb6f2203f8297e8277 (diff) | |
download | hdf5-1529ec0ab3a348e17aab0e0ec97bb80adc4decc2.zip hdf5-1529ec0ab3a348e17aab0e0ec97bb80adc4decc2.tar.gz hdf5-1529ec0ab3a348e17aab0e0ec97bb80adc4decc2.tar.bz2 |
Develop tools move (#3580)
Reorganizes the tools files to support the VOL tests
Diffstat (limited to 'tools/test/h5ls')
71 files changed, 2375 insertions, 221 deletions
diff --git a/tools/test/h5ls/CMakeTests.cmake b/tools/test/h5ls/CMakeTests.cmake index 15f18b5..14a7e5d 100644 --- a/tools/test/h5ls/CMakeTests.cmake +++ b/tools/test/h5ls/CMakeTests.cmake @@ -19,112 +19,119 @@ # -------------------------------------------------------------------- # Copy all the test files from source directory to test directory # -------------------------------------------------------------------- + set (LIST_HDF5_TESTLS_FILES + tdset_idx.h5 + ) + set (LIST_HDF5_TEST_FILES - ${HDF5_TOOLS_DIR}/testfiles/tall.h5 - ${HDF5_TOOLS_DIR}/testfiles/tarray1.h5 - ${HDF5_TOOLS_DIR}/testfiles/tattr2.h5 - ${HDF5_TOOLS_DIR}/testfiles/tattrreg.h5 - ${HDF5_TOOLS_DIR}/testfiles/tcompound.h5 - ${HDF5_TOOLS_DIR}/testfiles/tdatareg.h5 - ${HDF5_TOOLS_DIR}/testfiles/tdset.h5 - ${HDF5_TOOLS_DIR}/testfiles/tempty.h5 - ${HDF5_TOOLS_DIR}/testfiles/textlink.h5 - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc.h5 - ${HDF5_TOOLS_DIR}/testfiles/textlinktar.h5 - ${HDF5_TOOLS_DIR}/testfiles/tgroup.h5 - ${HDF5_TOOLS_DIR}/testfiles/tgrp_comments.h5 - ${HDF5_TOOLS_DIR}/testfiles/tgrpnullspace.h5 - ${HDF5_TOOLS_DIR}/testfiles/thlink.h5 - ${HDF5_TOOLS_DIR}/testfiles/tloop.h5 - ${HDF5_TOOLS_DIR}/testfiles/tnestedcomp.h5 - ${HDF5_TOOLS_DIR}/testfiles/tsaf.h5 - ${HDF5_TOOLS_DIR}/testfiles/tslink.h5 - ${HDF5_TOOLS_DIR}/testfiles/tsoftlinks.h5 - ${HDF5_TOOLS_DIR}/testfiles/tstr.h5 - ${HDF5_TOOLS_DIR}/testfiles/tudfilter.h5 - ${HDF5_TOOLS_DIR}/testfiles/tudlink.h5 - ${HDF5_TOOLS_DIR}/testfiles/tvldtypes1.h5 - ${HDF5_TOOLS_DIR}/testfiles/tdset_idx.h5 + tall.h5 + tarray1.h5 + tattr2.h5 + tattrreg.h5 + tcompound.h5 + tdatareg.h5 + tdset.h5 + tempty.h5 + textlink.h5 + textlinksrc.h5 + textlinktar.h5 + tgroup.h5 + tgrp_comments.h5 + tgrpnullspace.h5 + thlink.h5 + tloop.h5 + tnestedcomp.h5 + tsaf.h5 + tslink.h5 + tsoftlinks.h5 + tstr.h5 + tudfilter.h5 + tudlink.h5 + tvldtypes1.h5 ) set (LIST_ERR_TEST_FILES - ${HDF5_TOOLS_DIR}/test/h5ls/errfiles/nosuchfile.err - ${HDF5_TOOLS_DIR}/test/h5ls/errfiles/textlinksrc-nodangle-1.err - ${HDF5_TOOLS_DIR}/test/h5ls/errfiles/tgroup-1.err + nosuchfile.err + textlinksrc-nodangle-1.err + tgroup-1.err ) set (LIST_OTHER_TEST_FILES - ${HDF5_TOOLS_DIR}/testfiles/help-1.ls - ${HDF5_TOOLS_DIR}/testfiles/help-2.ls - ${HDF5_TOOLS_DIR}/testfiles/help-3.ls - ${HDF5_TOOLS_DIR}/testfiles/nosuchfile.ls - ${HDF5_TOOLS_DIR}/testfiles/tall-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tall-2.ls - ${HDF5_TOOLS_DIR}/testfiles/tarray1.ls - ${HDF5_TOOLS_DIR}/testfiles/tattr2.ls - ${HDF5_TOOLS_DIR}/testfiles/tattrreg_le.ls - ${HDF5_TOOLS_DIR}/testfiles/tattrreg_be.ls - ${HDF5_TOOLS_DIR}/testfiles/tcomp-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tdataregbe.ls - ${HDF5_TOOLS_DIR}/testfiles/tdataregle.ls - ${HDF5_TOOLS_DIR}/testfiles/tdset-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tempty.ls - ${HDF5_TOOLS_DIR}/testfiles/textlink-1.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-1.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-2.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-3.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-4.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-5.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-6.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-7.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-1-old.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-2-old.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-3-old.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-6-old.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-7-old.ls - ${HDF5_TOOLS_DIR}/testfiles/tsoftlinks-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tsoftlinks-2.ls - ${HDF5_TOOLS_DIR}/testfiles/tsoftlinks-3.ls - ${HDF5_TOOLS_DIR}/testfiles/tsoftlinks-4.ls - ${HDF5_TOOLS_DIR}/testfiles/tsoftlinks-5.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-nodangle-1.ls - ${HDF5_TOOLS_DIR}/testfiles/textlinksrc-nodangle-2.ls - ${HDF5_TOOLS_DIR}/testfiles/tgrp_comments.ls - ${HDF5_TOOLS_DIR}/testfiles/tsoftlinks-nodangle-1.ls - ${HDF5_TOOLS_DIR}/testfiles/thlinks-nodangle-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tgroup.ls - ${HDF5_TOOLS_DIR}/testfiles/tgroup-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tgroup-2.ls - ${HDF5_TOOLS_DIR}/testfiles/tgroup-3.ls - ${HDF5_TOOLS_DIR}/testfiles/tgrpnullspace.ls - ${HDF5_TOOLS_DIR}/testfiles/thlink-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tloop-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tmultifile.ls - ${HDF5_TOOLS_DIR}/testfiles/tnestcomp-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tnestcomp-2.ls - ${HDF5_TOOLS_DIR}/testfiles/tnestcomp-3.ls - ${HDF5_TOOLS_DIR}/testfiles/tnestcomp-4.ls - ${HDF5_TOOLS_DIR}/testfiles/tsaf.ls - ${HDF5_TOOLS_DIR}/testfiles/tslink-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tstr-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tudfilter.ls - ${HDF5_TOOLS_DIR}/testfiles/tudlink-1.ls - ${HDF5_TOOLS_DIR}/testfiles/tvldtypes1.ls - ${HDF5_TOOLS_DIR}/testfiles/tvldtypes2le.ls - ${HDF5_TOOLS_DIR}/testfiles/tvldtypes2be.ls - ${HDF5_TOOLS_DIR}/testfiles/tdset_idx.ls + help-1.ls + help-2.ls + help-3.ls + nosuchfile.ls + tall-1.ls + tall-2.ls + tarray1.ls + tattr2.ls + tattrreg_le.ls + tattrreg_be.ls + tcomp-1.ls + tdataregbe.ls + tdataregle.ls + tdset-1.ls + tdset_idx.ls + tempty.ls + textlink-1.ls + textlinksrc-1.ls + textlinksrc-2.ls + textlinksrc-3.ls + textlinksrc-4.ls + textlinksrc-5.ls + textlinksrc-6.ls + textlinksrc-7.ls + textlinksrc-1-old.ls + textlinksrc-2-old.ls + textlinksrc-3-old.ls + textlinksrc-6-old.ls + textlinksrc-7-old.ls + textlinksrc-nodangle-1.ls + textlinksrc-nodangle-2.ls + tgroup.ls + tgroup-1.ls + tgroup-2.ls + tgroup-3.ls + tgrpnullspace.ls + tgrp_comments.ls + thlinks-nodangle-1.ls + thlink-1.ls + tloop-1.ls + tmultifile.ls + tnestcomp-1.ls + tnestcomp-2.ls + tnestcomp-3.ls + tnestcomp-4.ls + tsaf.ls + tslink-1.ls + tsoftlinks-1.ls + tsoftlinks-2.ls + tsoftlinks-3.ls + tsoftlinks-4.ls + tsoftlinks-5.ls + tsoftlinks-nodangle-1.ls + tstr-1.ls + tudfilter.ls + tudlink-1.ls + tvldtypes1.ls + tvldtypes2le.ls + tvldtypes2be.ls ) file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles") # copy the list of test files - foreach (listfiles ${LIST_HDF5_TEST_FILES} ${LIST_OTHER_TEST_FILES}) - get_filename_component(fname "${listfiles}" NAME) - HDFTEST_COPY_FILE("${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/${fname}" "h5ls_files") + foreach (listlsfiles ${LIST_HDF5_TESTLS_FILES}) + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${listlsfiles}" "${PROJECT_BINARY_DIR}/testfiles/${listlsfiles}" "h5ls_files") + endforeach () + foreach (listfiles ${LIST_HDF5_TEST_FILES}) + HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/${listfiles}" "h5ls_files") + endforeach () + foreach (listothers ${LIST_OTHER_TEST_FILES}) + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/expected/${listothers}" "${PROJECT_BINARY_DIR}/testfiles/${listothers}" "h5ls_files") endforeach () - foreach (listfiles ${LIST_ERR_TEST_FILES}) - get_filename_component(fname "${listfiles}" NAME) - HDFTEST_COPY_FILE("${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/${fname}" "h5ls_files") + foreach (listerrfiles ${LIST_ERR_TEST_FILES}) + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/errfiles/${listerrfiles}" "${PROJECT_BINARY_DIR}/testfiles/${listerrfiles}" "h5ls_files") endforeach () add_custom_target(h5ls_files ALL COMMENT "Copying files needed by h5ls tests" DEPENDS ${h5ls_files_list}) diff --git a/tools/test/h5ls/CMakeTestsVDS.cmake b/tools/test/h5ls/CMakeTestsVDS.cmake index 5ef21ab..3718f64 100644 --- a/tools/test/h5ls/CMakeTestsVDS.cmake +++ b/tools/test/h5ls/CMakeTestsVDS.cmake @@ -57,19 +57,20 @@ file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles") # copy the list of test files - foreach (listfiles ${LIST_HDF5_TEST_FILES} ${LIST_OTHER_TEST_FILES}) - get_filename_component(fname "${listfiles}" NAME) - HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/vds/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/vds/${fname}" "h5ls_vds_files") + foreach (listfiles ${LIST_HDF5_TEST_FILES}) + HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/vds/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/vds/${listfiles}" "h5ls_vds_files") + endforeach () + + foreach (listothers ${LIST_OTHER_TEST_FILES}) + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/expected/vds/${listothers}" "${PROJECT_BINARY_DIR}/testfiles/vds/${listothers}" "h5ls_vds_files") endforeach () foreach (listfiles ${LIST_HDF5_TEST_FILES}) - get_filename_component(fname "${listfiles}" NAME) - HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/vds/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/vds/prefix/${fname}" "h5ls_vds_files") + HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/vds/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/vds/prefix/${listfiles}" "h5ls_vds_files") endforeach () - foreach (listfiles ${LIST_OTHER_TEST_FILES}) - get_filename_component(fname "${listfiles}" NAME) - HDFTEST_COPY_FILE("${HDF5_TOOLS_TEST_H5LS_SOURCE_DIR}/vds_prefix/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/vds/prefix/${fname}" "h5ls_vds_files") + foreach (listothers ${LIST_OTHER_TEST_FILES}) + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/vds_prefix/${listothers}" "${PROJECT_BINARY_DIR}/testfiles/vds/prefix/${listothers}" "h5ls_vds_files") endforeach () add_custom_target(h5ls_vds_files ALL COMMENT "Copying files needed by h5ls_vds tests" DEPENDS ${h5ls_vds_files_list}) diff --git a/tools/test/h5ls/expected/help-1.ls b/tools/test/h5ls/expected/help-1.ls new file mode 100644 index 0000000..1cf733b --- /dev/null +++ b/tools/test/h5ls/expected/help-1.ls @@ -0,0 +1,79 @@ +usage: h5ls [OPTIONS] file[/OBJECT] [file[/[OBJECT]...] + OPTIONS + -h, -?, --help Print a usage message and exit + -a, --address Print raw data address. If dataset is contiguous, address + is offset in file of beginning of raw data. If chunked, + returned list of addresses indicates offset of each chunk. + Must be used with -v, --verbose option. + Provides no information for non-dataset objects. + -d, --data Print the values of datasets + --enable-error-stack + Prints messages from the HDF5 error stack as they occur. + --follow-symlinks + Follow symbolic links (soft links and external links) + to display target object information. + Without this option, h5ls identifies a symbolic link + as a soft link or external link and prints the value + assigned to the symbolic link; it does not provide any + information regarding the target object or determine + whether the link is a dangling link. + --no-dangling-links + Must be used with --follow-symlinks option; + otherwise, h5ls shows error message and returns an exit + code of 1. + Check for any symbolic links (soft links or external links) + that do not resolve to an existing object (dataset, group, + or named datatype). + If any dangling link is found, this situation is treated + as an error and h5ls returns an exit code of 1. + -f, --full Print full path names instead of base names + -g, --group Show information about a group, not its contents + -l, --label Label members of compound datasets + -r, --recursive List all groups recursively, avoiding cycles + -s, --string Print 1-byte integer datasets as ASCII + -S, --simple Use a machine-readable output format + -wN, --width=N Set the number of columns of output + -v, --verbose Generate more verbose output + -V, --version Print version number and exit + --vfd=DRIVER Use the specified virtual file driver + -x, --hexdump Show raw data in hexadecimal format + --s3-cred=C Supply S3 authentication information to "ros3" vfd. + Accepts tuple of "(<aws-region>,<access-id>,<access-key>)". + If absent or C->"(,,)", defaults to no-authentication. + Has no effect if vfd flag not set to "ros3". + --hdfs-attrs=A Supply configuration information to Hadoop VFD. + Accepts tuple of (<namenode name>,<namenode port>, + ...<kerberos cache path>,<username>,<buffer size>) + If absent or A == '(,,,,)', all default values are used. + Has no effect if vfd flag is not 'hdfs'. + --vol-value Value (ID) of the VOL connector to use for opening the + HDF5 file specified + --vol-name Name of the VOL connector to use for opening the + HDF5 file specified + --vol-info VOL-specific info to pass to the VOL connector used for + opening the HDF5 file specified + If none of the above options are used to specify a VOL, then + the VOL named by HDF5_VOL_CONNECTOR (or the native VOL connector, + if that environment variable is unset) will be used + --vfd-value Value (ID) of the VFL driver to use for opening the + HDF5 file specified + --vfd-name Name of the VFL driver to use for opening the + HDF5 file specified + --vfd-info VFD-specific info to pass to the VFL driver used for + opening the HDF5 file specified + + file/OBJECT + Each object consists of an HDF5 file name optionally followed by a + slash and an object name within the file (if no object is specified + within the file then the contents of the root group are displayed). + The file name may include a printf(3C) integer format such as + "%05d" to open a file family. + + Deprecated Options + The following options have been removed in HDF5 1.12. Use the indicated + replacement option in all work. + + -E or --external Follow external links. + Replaced by --follow-symlinks. + -e, --errors Show all HDF5 error reporting + Replaced by --enable-error-stack. diff --git a/tools/test/h5ls/expected/help-2.ls b/tools/test/h5ls/expected/help-2.ls new file mode 100644 index 0000000..1cf733b --- /dev/null +++ b/tools/test/h5ls/expected/help-2.ls @@ -0,0 +1,79 @@ +usage: h5ls [OPTIONS] file[/OBJECT] [file[/[OBJECT]...] + OPTIONS + -h, -?, --help Print a usage message and exit + -a, --address Print raw data address. If dataset is contiguous, address + is offset in file of beginning of raw data. If chunked, + returned list of addresses indicates offset of each chunk. + Must be used with -v, --verbose option. + Provides no information for non-dataset objects. + -d, --data Print the values of datasets + --enable-error-stack + Prints messages from the HDF5 error stack as they occur. + --follow-symlinks + Follow symbolic links (soft links and external links) + to display target object information. + Without this option, h5ls identifies a symbolic link + as a soft link or external link and prints the value + assigned to the symbolic link; it does not provide any + information regarding the target object or determine + whether the link is a dangling link. + --no-dangling-links + Must be used with --follow-symlinks option; + otherwise, h5ls shows error message and returns an exit + code of 1. + Check for any symbolic links (soft links or external links) + that do not resolve to an existing object (dataset, group, + or named datatype). + If any dangling link is found, this situation is treated + as an error and h5ls returns an exit code of 1. + -f, --full Print full path names instead of base names + -g, --group Show information about a group, not its contents + -l, --label Label members of compound datasets + -r, --recursive List all groups recursively, avoiding cycles + -s, --string Print 1-byte integer datasets as ASCII + -S, --simple Use a machine-readable output format + -wN, --width=N Set the number of columns of output + -v, --verbose Generate more verbose output + -V, --version Print version number and exit + --vfd=DRIVER Use the specified virtual file driver + -x, --hexdump Show raw data in hexadecimal format + --s3-cred=C Supply S3 authentication information to "ros3" vfd. + Accepts tuple of "(<aws-region>,<access-id>,<access-key>)". + If absent or C->"(,,)", defaults to no-authentication. + Has no effect if vfd flag not set to "ros3". + --hdfs-attrs=A Supply configuration information to Hadoop VFD. + Accepts tuple of (<namenode name>,<namenode port>, + ...<kerberos cache path>,<username>,<buffer size>) + If absent or A == '(,,,,)', all default values are used. + Has no effect if vfd flag is not 'hdfs'. + --vol-value Value (ID) of the VOL connector to use for opening the + HDF5 file specified + --vol-name Name of the VOL connector to use for opening the + HDF5 file specified + --vol-info VOL-specific info to pass to the VOL connector used for + opening the HDF5 file specified + If none of the above options are used to specify a VOL, then + the VOL named by HDF5_VOL_CONNECTOR (or the native VOL connector, + if that environment variable is unset) will be used + --vfd-value Value (ID) of the VFL driver to use for opening the + HDF5 file specified + --vfd-name Name of the VFL driver to use for opening the + HDF5 file specified + --vfd-info VFD-specific info to pass to the VFL driver used for + opening the HDF5 file specified + + file/OBJECT + Each object consists of an HDF5 file name optionally followed by a + slash and an object name within the file (if no object is specified + within the file then the contents of the root group are displayed). + The file name may include a printf(3C) integer format such as + "%05d" to open a file family. + + Deprecated Options + The following options have been removed in HDF5 1.12. Use the indicated + replacement option in all work. + + -E or --external Follow external links. + Replaced by --follow-symlinks. + -e, --errors Show all HDF5 error reporting + Replaced by --enable-error-stack. diff --git a/tools/test/h5ls/expected/help-3.ls b/tools/test/h5ls/expected/help-3.ls new file mode 100644 index 0000000..1cf733b --- /dev/null +++ b/tools/test/h5ls/expected/help-3.ls @@ -0,0 +1,79 @@ +usage: h5ls [OPTIONS] file[/OBJECT] [file[/[OBJECT]...] + OPTIONS + -h, -?, --help Print a usage message and exit + -a, --address Print raw data address. If dataset is contiguous, address + is offset in file of beginning of raw data. If chunked, + returned list of addresses indicates offset of each chunk. + Must be used with -v, --verbose option. + Provides no information for non-dataset objects. + -d, --data Print the values of datasets + --enable-error-stack + Prints messages from the HDF5 error stack as they occur. + --follow-symlinks + Follow symbolic links (soft links and external links) + to display target object information. + Without this option, h5ls identifies a symbolic link + as a soft link or external link and prints the value + assigned to the symbolic link; it does not provide any + information regarding the target object or determine + whether the link is a dangling link. + --no-dangling-links + Must be used with --follow-symlinks option; + otherwise, h5ls shows error message and returns an exit + code of 1. + Check for any symbolic links (soft links or external links) + that do not resolve to an existing object (dataset, group, + or named datatype). + If any dangling link is found, this situation is treated + as an error and h5ls returns an exit code of 1. + -f, --full Print full path names instead of base names + -g, --group Show information about a group, not its contents + -l, --label Label members of compound datasets + -r, --recursive List all groups recursively, avoiding cycles + -s, --string Print 1-byte integer datasets as ASCII + -S, --simple Use a machine-readable output format + -wN, --width=N Set the number of columns of output + -v, --verbose Generate more verbose output + -V, --version Print version number and exit + --vfd=DRIVER Use the specified virtual file driver + -x, --hexdump Show raw data in hexadecimal format + --s3-cred=C Supply S3 authentication information to "ros3" vfd. + Accepts tuple of "(<aws-region>,<access-id>,<access-key>)". + If absent or C->"(,,)", defaults to no-authentication. + Has no effect if vfd flag not set to "ros3". + --hdfs-attrs=A Supply configuration information to Hadoop VFD. + Accepts tuple of (<namenode name>,<namenode port>, + ...<kerberos cache path>,<username>,<buffer size>) + If absent or A == '(,,,,)', all default values are used. + Has no effect if vfd flag is not 'hdfs'. + --vol-value Value (ID) of the VOL connector to use for opening the + HDF5 file specified + --vol-name Name of the VOL connector to use for opening the + HDF5 file specified + --vol-info VOL-specific info to pass to the VOL connector used for + opening the HDF5 file specified + If none of the above options are used to specify a VOL, then + the VOL named by HDF5_VOL_CONNECTOR (or the native VOL connector, + if that environment variable is unset) will be used + --vfd-value Value (ID) of the VFL driver to use for opening the + HDF5 file specified + --vfd-name Name of the VFL driver to use for opening the + HDF5 file specified + --vfd-info VFD-specific info to pass to the VFL driver used for + opening the HDF5 file specified + + file/OBJECT + Each object consists of an HDF5 file name optionally followed by a + slash and an object name within the file (if no object is specified + within the file then the contents of the root group are displayed). + The file name may include a printf(3C) integer format such as + "%05d" to open a file family. + + Deprecated Options + The following options have been removed in HDF5 1.12. Use the indicated + replacement option in all work. + + -E or --external Follow external links. + Replaced by --follow-symlinks. + -e, --errors Show all HDF5 error reporting + Replaced by --enable-error-stack. diff --git a/tools/test/h5ls/expected/nosuchfile.ls b/tools/test/h5ls/expected/nosuchfile.ls new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tools/test/h5ls/expected/nosuchfile.ls diff --git a/tools/test/h5ls/expected/tall-1.ls b/tools/test/h5ls/expected/tall-1.ls new file mode 100644 index 0000000..91b89e6 --- /dev/null +++ b/tools/test/h5ls/expected/tall-1.ls @@ -0,0 +1,2 @@ +g1 Group +g2 Group diff --git a/tools/test/h5ls/expected/tall-2.ls b/tools/test/h5ls/expected/tall-2.ls new file mode 100644 index 0000000..eb6c3de --- /dev/null +++ b/tools/test/h5ls/expected/tall-2.ls @@ -0,0 +1,25 @@ +/ Group +/g1 Group +/g1/g1.1 Group +/g1/g1.1/dset1.1.1 Dataset {10, 10} + Data: + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 2, 4, 6, + 8, 10, 12, 14, 16, 18, 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 0, 4, 8, 12, + 16, 20, 24, 28, 32, 36, 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 0, 6, 12, + 18, 24, 30, 36, 42, 48, 54, 0, 7, 14, 21, 28, 35, 42, 49, 56, 63, 0, 8, + 16, 24, 32, 40, 48, 56, 64, 72, 0, 9, 18, 27, 36, 45, 54, 63, 72, 81 +/g1/g1.1/dset1.1.2 Dataset {20} + Data: + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 +/g1/g1.2 Group +/g1/g1.2/extlink External Link {somefile//somepath} +/g1/g1.2/g1.2.1 Group +/g1/g1.2/g1.2.1/slink Soft Link {somevalue} +/g2 Group +/g2/dset2.1 Dataset {10} + Data: + 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9 +/g2/dset2.2 Dataset {3, 5} + Data: + 0, 0.1, 0.2, 0.3, 0.4, 0, 0.2, 0.4, 0.6, 0.8, 0, 0.3, 0.6, 0.9, 1.2 +/g2/udlink UD Link {cannot follow UD links} diff --git a/tools/test/h5ls/expected/tarray1.ls b/tools/test/h5ls/expected/tarray1.ls new file mode 100644 index 0000000..e7cb9e1 --- /dev/null +++ b/tools/test/h5ls/expected/tarray1.ls @@ -0,0 +1,4 @@ +/ Group +/Dataset1 Dataset {4} + Data: + [0,1,2,3], [10,11,12,13], [20,21,22,23], [30,31,32,33] diff --git a/tools/test/h5ls/expected/tattr2.ls b/tools/test/h5ls/expected/tattr2.ls new file mode 100644 index 0000000..f07f867 --- /dev/null +++ b/tools/test/h5ls/expected/tattr2.ls @@ -0,0 +1,174 @@ +Opened "tattr2.h5" with sec2 driver. +dset Dataset {2/2} + Attribute: array {2} + Type: [3] 32-bit little-endian integer + Attribute: array2D {3, 2} + Type: [3] 32-bit little-endian integer + Attribute: array3D {4, 3, 2} + Type: [3] 32-bit little-endian integer + Attribute: bitfield {2} + Type: 8-bit bitfield + Attribute: bitfield2D {3, 2} + Type: 8-bit bitfield + Attribute: bitfield3D {4, 3, 2} + Type: 8-bit bitfield + Attribute: compound {2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Attribute: compound2D {3, 2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Attribute: compound3D {4, 3, 2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Attribute: enum {2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Attribute: enum2D {3, 2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Attribute: enum3D {4, 3, 2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Attribute: float {2} + Type: IEEE 32-bit little-endian float + Attribute: float2D {3, 2} + Type: IEEE 32-bit little-endian float + Attribute: float3D {4, 3, 2} + Type: IEEE 32-bit little-endian float + Attribute: integer {2} + Type: 32-bit little-endian integer + Attribute: integer2D {3, 2} + Type: 32-bit little-endian integer + Attribute: integer3D {4, 3, 2} + Type: 32-bit little-endian integer + Attribute: opaque {2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Attribute: opaque2D {3, 2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Attribute: opaque3D {4, 3, 2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Attribute: reference {2} + Type: object reference + Attribute: reference2D {3, 2} + Type: object reference + Attribute: reference3D {4, 3, 2} + Type: object reference + Attribute: string {2} + Type: 2-byte null-terminated ASCII string + Attribute: string2D {3, 2} + Type: 2-byte null-terminated ASCII string + Attribute: string3D {4, 3, 2} + Type: 2-byte null-terminated ASCII string + Attribute: vlen {2} + Type: variable length of + 32-bit little-endian integer + Attribute: vlen2D {3, 2} + Type: variable length of + 32-bit little-endian integer + Attribute: vlen3D {4, 3, 2} + Type: variable length of + 32-bit little-endian integer + Location: 1:976 + Links: 1 + Storage: 8 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer +g1 Group + Attribute: array {2} + Type: [3] 32-bit little-endian integer + Attribute: array2D {3, 2} + Type: [3] 32-bit little-endian integer + Attribute: array3D {4, 3, 2} + Type: [3] 32-bit little-endian integer + Attribute: bitfield {2} + Type: 8-bit bitfield + Attribute: bitfield2D {3, 2} + Type: 8-bit bitfield + Attribute: bitfield3D {4, 3, 2} + Type: 8-bit bitfield + Attribute: compound {2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Attribute: compound2D {3, 2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Attribute: compound3D {4, 3, 2} + Type: struct { + "a" +0 8-bit integer + "b" +4 IEEE 64-bit little-endian float + } 12 bytes + Attribute: enum {2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Attribute: enum2D {3, 2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Attribute: enum3D {4, 3, 2} + Type: enum 32-bit little-endian integer { + RED = 0 + GREEN = 1 + } + Attribute: float {2} + Type: IEEE 32-bit little-endian float + Attribute: float2D {3, 2} + Type: IEEE 32-bit little-endian float + Attribute: float3D {4, 3, 2} + Type: IEEE 32-bit little-endian float + Attribute: integer {2} + Type: 32-bit little-endian integer + Attribute: integer2D {3, 2} + Type: 32-bit little-endian integer + Attribute: integer3D {4, 3, 2} + Type: 32-bit little-endian integer + Attribute: opaque {2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Attribute: opaque2D {3, 2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Attribute: opaque3D {4, 3, 2} + Type: 1-byte opaque type + (tag = "1-byte opaque type") + Attribute: string {2} + Type: 2-byte null-terminated ASCII string + Attribute: string2D {3, 2} + Type: 2-byte null-terminated ASCII string + Attribute: string3D {4, 3, 2} + Type: 2-byte null-terminated ASCII string + Attribute: vlen {2} + Type: variable length of + 32-bit little-endian integer + Attribute: vlen2D {3, 2} + Type: variable length of + 32-bit little-endian integer + Attribute: vlen3D {4, 3, 2} + Type: variable length of + 32-bit little-endian integer + Location: 1:2176 + Links: 1 +g2 Group + Location: 1:2824 + Links: 1 diff --git a/tools/test/h5ls/expected/tattrreg_be.ls b/tools/test/h5ls/expected/tattrreg_be.ls new file mode 100644 index 0000000..b94d291 --- /dev/null +++ b/tools/test/h5ls/expected/tattrreg_be.ls @@ -0,0 +1,39 @@ +Opened "tattrreg.h5" with sec2 driver. +Dataset1 Dataset {NULL} + Attribute: Attribute1 {4} + Type: dataset region reference + Data: + DATASET "tattrreg.h5/Dataset2" { + REGION_TYPE BLOCK Blk0: (2,2)-(7,7) + DATATYPE H5T_STD_U8BE + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } + } + DATASET "tattrreg.h5/Dataset2" { + REGION_TYPE POINT Pt0: (6,9), Pt1: (2,2), Pt2: (8,4), + Pt3: (1,6), Pt4: (2,8), Pt5: (3,2), Pt6: (0,4), + Pt7: (9,0), Pt8: (7,1), Pt9: (3,3) + DATATYPE H5T_STD_U8BE + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } + } + NULL + NULL + + Location: 1:1400 + Links: 1 + Storage: 0 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer + Data: + +Dataset2 Dataset {10/10, 10/10} + Location: 1:800 + Links: 1 + Storage: 100 logical bytes, 100 allocated bytes, 100.00% utilization + Type: native unsigned char + Data: + 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, + 57, 60, 63, 66, 69, 72, 75, 78, 81, 84, 87, 90, 93, 96, 99, 102, 105, + 108, 111, 114, 117, 120, 123, 126, 129, 132, 135, 138, 141, 144, 147, + 150, 153, 156, 159, 162, 165, 168, 171, 174, 177, 180, 183, 186, 189, + 192, 195, 198, 201, 204, 207, 210, 213, 216, 219, 222, 225, 228, 231, + 234, 237, 240, 243, 246, 249, 252, 255, 2, 5, 8, 11, 14, 17, 20, 23, + 26, 29, 32, 35, 38, 41 diff --git a/tools/test/h5ls/expected/tattrreg_le.ls b/tools/test/h5ls/expected/tattrreg_le.ls new file mode 100644 index 0000000..471c24c --- /dev/null +++ b/tools/test/h5ls/expected/tattrreg_le.ls @@ -0,0 +1,39 @@ +Opened "tattrreg.h5" with sec2 driver. +Dataset1 Dataset {NULL} + Attribute: Attribute1 {4} + Type: dataset region reference + Data: + DATASET "tattrreg.h5/Dataset2" { + REGION_TYPE BLOCK Blk0: (2,2)-(7,7) + DATATYPE H5T_STD_U8BE + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } + } + DATASET "tattrreg.h5/Dataset2" { + REGION_TYPE POINT Pt0: (6,9), Pt1: (2,2), Pt2: (8,4), + Pt3: (1,6), Pt4: (2,8), Pt5: (3,2), Pt6: (0,4), + Pt7: (9,0), Pt8: (7,1), Pt9: (3,3) + DATATYPE H5T_STD_U8BE + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } + } + NULL + NULL + + Location: 1:1400 + Links: 1 + Storage: 0 logical bytes, 0 allocated bytes + Type: native int + Data: + +Dataset2 Dataset {10/10, 10/10} + Location: 1:800 + Links: 1 + Storage: 100 logical bytes, 100 allocated bytes, 100.00% utilization + Type: 8-bit unsigned integer + Data: + 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, + 57, 60, 63, 66, 69, 72, 75, 78, 81, 84, 87, 90, 93, 96, 99, 102, 105, + 108, 111, 114, 117, 120, 123, 126, 129, 132, 135, 138, 141, 144, 147, + 150, 153, 156, 159, 162, 165, 168, 171, 174, 177, 180, 183, 186, 189, + 192, 195, 198, 201, 204, 207, 210, 213, 216, 219, 222, 225, 228, 231, + 234, 237, 240, 243, 246, 249, 252, 255, 2, 5, 8, 11, 14, 17, 20, 23, + 26, 29, 32, 35, 38, 41 diff --git a/tools/test/h5ls/expected/tcomp-1.ls b/tools/test/h5ls/expected/tcomp-1.ls new file mode 100644 index 0000000..38f4228 --- /dev/null +++ b/tools/test/h5ls/expected/tcomp-1.ls @@ -0,0 +1,57 @@ +/ Group +/dset1 Dataset {5} + Data: + {0, 0, 1}, {1, 1, 0.5}, {2, 4, 0.333333333333333}, {3, 9, 0.25}, + {4, 16, 0.2} +/group1 Group +/group1/dset2 Dataset {5} + Data: + {0, 0}, {1, 1.1}, {2, 2.2}, {3, 3.3}, {4, 4.4} +/group1/dset3 Dataset {3, 6} + Data: + {[0,1,2,3], [1,2,3,4,5,6,2,3,4,5,6,7,3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8, + 9,10]}, + {[1,2,3,4], [2,3,4,5,6,7,3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9, + 10,11]}, + {[2,3,4,5], [3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9, + 10,11,12]}, + {[3,4,5,6], [4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8, + 9,10,11,12,13]}, + {[4,5,6,7], [5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12, + 13,9,10,11,12,13,14]}, + {[5,6,7,8], [6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12, + 13,14,10,11,12,13,14,15]}, + {[1,2,3,4], [2,3,4,5,6,7,3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9, + 10,11]}, + {[2,3,4,5], [3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9, + 10,11,12]}, + {[3,4,5,6], [4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8, + 9,10,11,12,13]}, + {[4,5,6,7], [5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12, + 13,9,10,11,12,13,14]}, + {[5,6,7,8], [6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12, + 13,14,10,11,12,13,14,15]}, + {[6,7,8,9], [7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12,13,14,10,11,12, + 13,14,15,11,12,13,14,15,16]}, + {[2,3,4,5], [3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9, + 10,11,12]}, + {[3,4,5,6], [4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8, + 9,10,11,12,13]}, + {[4,5,6,7], [5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12, + 13,9,10,11,12,13,14]}, + {[5,6,7,8], [6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12, + 13,14,10,11,12,13,14,15]}, + {[6,7,8,9], [7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12,13,14,10,11,12, + 13,14,15,11,12,13,14,15,16]}, + {[7,8,9,10], [8,9,10,11,12,13,9,10,11,12,13,14,10,11,12,13,14,15,11, + 12,13,14,15,16,12,13,14,15,16,17]} +/group1/dset4 Dataset {5} + Data: + {0, 3}, {1, 4}, {2, 5}, {3, 6}, {4, 7} +/group1/type3 Type +/group2 Group +/group2/dset5 Dataset {5} + Data: + {0, 0}, {1, 0.1}, {2, 0.2}, {3, 0.3}, {4, 0.4} +/type1 Type +/type2 Type diff --git a/tools/test/h5ls/expected/tdataregbe.ls b/tools/test/h5ls/expected/tdataregbe.ls new file mode 100644 index 0000000..ae5e629 --- /dev/null +++ b/tools/test/h5ls/expected/tdataregbe.ls @@ -0,0 +1,11 @@ +Opened "tdatareg.h5" with sec2 driver. +Dataset1 Dataset {4/4} + Location: 1:1284 + Links: 1 + Storage: reference information not available + Type: dataset region reference +Dataset2 Dataset {10/10, 10/10} + Location: 1:744 + Links: 1 + Storage: 100 logical bytes, 100 allocated bytes, 100.00% utilization + Type: native unsigned char diff --git a/tools/test/h5ls/expected/tdataregle.ls b/tools/test/h5ls/expected/tdataregle.ls new file mode 100644 index 0000000..586b385 --- /dev/null +++ b/tools/test/h5ls/expected/tdataregle.ls @@ -0,0 +1,11 @@ +Opened "tdatareg.h5" with sec2 driver. +Dataset1 Dataset {4/4} + Location: 1:1284 + Links: 1 + Storage: reference information not available + Type: dataset region reference +Dataset2 Dataset {10/10, 10/10} + Location: 1:744 + Links: 1 + Storage: 100 logical bytes, 100 allocated bytes, 100.00% utilization + Type: 8-bit unsigned integer diff --git a/tools/test/h5ls/expected/tdset-1.ls b/tools/test/h5ls/expected/tdset-1.ls new file mode 100644 index 0000000..f214ba5 --- /dev/null +++ b/tools/test/h5ls/expected/tdset-1.ls @@ -0,0 +1,89 @@ +/ Group +/dset1 Dataset {10, 20} + Data: + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28 +/dset2 Dataset {30, 20} + Data: + 0, 0.0001, 0.0002, 0.0003, 0.0004, 0.0005, 0.0006, 0.0007, 0.0008, + 0.0009, 0.001, 0.0011, 0.0012, 0.0013, 0.0014, 0.0015, 0.0016, 0.0017, + 0.0018, 0.0019, 1, 1.0001, 1.0002, 1.0003, 1.0004, 1.0005, 1.0006, + 1.0007, 1.0008, 1.0009, 1.001, 1.0011, 1.0012, 1.0013, 1.0014, 1.0015, + 1.0016, 1.0017, 1.0018, 1.0019, 2, 2.0001, 2.0002, 2.0003, 2.0004, + 2.0005, 2.0006, 2.0007, 2.0008, 2.0009, 2.001, 2.0011, 2.0012, 2.0013, + 2.0014, 2.0015, 2.0016, 2.0017, 2.0018, 2.0019, 3, 3.0001, 3.0002, + 3.0003, 3.0004, 3.0005, 3.0006, 3.0007, 3.0008, 3.0009, 3.001, 3.0011, + 3.0012, 3.0013, 3.0014, 3.0015, 3.0016, 3.0017, 3.0018, 3.0019, 4, + 4.0001, 4.0002, 4.0003, 4.0004, 4.0005, 4.0006, 4.0007, 4.0008, 4.0009, + 4.001, 4.0011, 4.0012, 4.0013, 4.0014, 4.0015, 4.0016, 4.0017, 4.0018, + 4.0019, 5, 5.0001, 5.0002, 5.0003, 5.0004, 5.0005, 5.0006, 5.0007, + 5.0008, 5.0009, 5.001, 5.0011, 5.0012, 5.0013, 5.0014, 5.0015, 5.0016, + 5.0017, 5.0018, 5.0019, 6, 6.0001, 6.0002, 6.0003, 6.0004, 6.0005, + 6.0006, 6.0007, 6.0008, 6.0009, 6.001, 6.0011, 6.0012, 6.0013, 6.0014, + 6.0015, 6.0016, 6.0017, 6.0018, 6.0019, 7, 7.0001, 7.0002, 7.0003, + 7.0004, 7.0005, 7.0006, 7.0007, 7.0008, 7.0009, 7.001, 7.0011, 7.0012, + 7.0013, 7.0014, 7.0015, 7.0016, 7.0017, 7.0018, 7.0019, 8, 8.0001, + 8.0002, 8.0003, 8.0004, 8.0005, 8.0006, 8.0007, 8.0008, 8.0009, 8.001, + 8.0011, 8.0012, 8.0013, 8.0014, 8.0015, 8.0016, 8.0017, 8.0018, 8.0019, + 9, 9.0001, 9.0002, 9.0003, 9.0004, 9.0005, 9.0006, 9.0007, 9.0008, + 9.0009, 9.001, 9.0011, 9.0012, 9.0013, 9.0014, 9.0015, 9.0016, 9.0017, + 9.0018, 9.0019, 10, 10.0001, 10.0002, 10.0003, 10.0004, 10.0005, + 10.0006, 10.0007, 10.0008, 10.0009, 10.001, 10.0011, 10.0012, 10.0013, + 10.0014, 10.0015, 10.0016, 10.0017, 10.0018, 10.0019, 11, 11.0001, + 11.0002, 11.0003, 11.0004, 11.0005, 11.0006, 11.0007, 11.0008, 11.0009, + 11.001, 11.0011, 11.0012, 11.0013, 11.0014, 11.0015, 11.0016, 11.0017, + 11.0018, 11.0019, 12, 12.0001, 12.0002, 12.0003, 12.0004, 12.0005, + 12.0006, 12.0007, 12.0008, 12.0009, 12.001, 12.0011, 12.0012, 12.0013, + 12.0014, 12.0015, 12.0016, 12.0017, 12.0018, 12.0019, 13, 13.0001, + 13.0002, 13.0003, 13.0004, 13.0005, 13.0006, 13.0007, 13.0008, 13.0009, + 13.001, 13.0011, 13.0012, 13.0013, 13.0014, 13.0015, 13.0016, 13.0017, + 13.0018, 13.0019, 14, 14.0001, 14.0002, 14.0003, 14.0004, 14.0005, + 14.0006, 14.0007, 14.0008, 14.0009, 14.001, 14.0011, 14.0012, 14.0013, + 14.0014, 14.0015, 14.0016, 14.0017, 14.0018, 14.0019, 15, 15.0001, + 15.0002, 15.0003, 15.0004, 15.0005, 15.0006, 15.0007, 15.0008, 15.0009, + 15.001, 15.0011, 15.0012, 15.0013, 15.0014, 15.0015, 15.0016, 15.0017, + 15.0018, 15.0019, 16, 16.0001, 16.0002, 16.0003, 16.0004, 16.0005, + 16.0006, 16.0007, 16.0008, 16.0009, 16.001, 16.0011, 16.0012, 16.0013, + 16.0014, 16.0015, 16.0016, 16.0017, 16.0018, 16.0019, 17, 17.0001, + 17.0002, 17.0003, 17.0004, 17.0005, 17.0006, 17.0007, 17.0008, 17.0009, + 17.001, 17.0011, 17.0012, 17.0013, 17.0014, 17.0015, 17.0016, 17.0017, + 17.0018, 17.0019, 18, 18.0001, 18.0002, 18.0003, 18.0004, 18.0005, + 18.0006, 18.0007, 18.0008, 18.0009, 18.001, 18.0011, 18.0012, 18.0013, + 18.0014, 18.0015, 18.0016, 18.0017, 18.0018, 18.0019, 19, 19.0001, + 19.0002, 19.0003, 19.0004, 19.0005, 19.0006, 19.0007, 19.0008, 19.0009, + 19.001, 19.0011, 19.0012, 19.0013, 19.0014, 19.0015, 19.0016, 19.0017, + 19.0018, 19.0019, 20, 20.0001, 20.0002, 20.0003, 20.0004, 20.0005, + 20.0006, 20.0007, 20.0008, 20.0009, 20.001, 20.0011, 20.0012, 20.0013, + 20.0014, 20.0015, 20.0016, 20.0017, 20.0018, 20.0019, 21, 21.0001, + 21.0002, 21.0003, 21.0004, 21.0005, 21.0006, 21.0007, 21.0008, 21.0009, + 21.001, 21.0011, 21.0012, 21.0013, 21.0014, 21.0015, 21.0016, 21.0017, + 21.0018, 21.0019, 22, 22.0001, 22.0002, 22.0003, 22.0004, 22.0005, + 22.0006, 22.0007, 22.0008, 22.0009, 22.001, 22.0011, 22.0012, 22.0013, + 22.0014, 22.0015, 22.0016, 22.0017, 22.0018, 22.0019, 23, 23.0001, + 23.0002, 23.0003, 23.0004, 23.0005, 23.0006, 23.0007, 23.0008, 23.0009, + 23.001, 23.0011, 23.0012, 23.0013, 23.0014, 23.0015, 23.0016, 23.0017, + 23.0018, 23.0019, 24, 24.0001, 24.0002, 24.0003, 24.0004, 24.0005, + 24.0006, 24.0007, 24.0008, 24.0009, 24.001, 24.0011, 24.0012, 24.0013, + 24.0014, 24.0015, 24.0016, 24.0017, 24.0018, 24.0019, 25, 25.0001, + 25.0002, 25.0003, 25.0004, 25.0005, 25.0006, 25.0007, 25.0008, 25.0009, + 25.001, 25.0011, 25.0012, 25.0013, 25.0014, 25.0015, 25.0016, 25.0017, + 25.0018, 25.0019, 26, 26.0001, 26.0002, 26.0003, 26.0004, 26.0005, + 26.0006, 26.0007, 26.0008, 26.0009, 26.001, 26.0011, 26.0012, 26.0013, + 26.0014, 26.0015, 26.0016, 26.0017, 26.0018, 26.0019, 27, 27.0001, + 27.0002, 27.0003, 27.0004, 27.0005, 27.0006, 27.0007, 27.0008, 27.0009, + 27.001, 27.0011, 27.0012, 27.0013, 27.0014, 27.0015, 27.0016, 27.0017, + 27.0018, 27.0019, 28, 28.0001, 28.0002, 28.0003, 28.0004, 28.0005, + 28.0006, 28.0007, 28.0008, 28.0009, 28.001, 28.0011, 28.0012, 28.0013, + 28.0014, 28.0015, 28.0016, 28.0017, 28.0018, 28.0019, 29, 29.0001, + 29.0002, 29.0003, 29.0004, 29.0005, 29.0006, 29.0007, 29.0008, 29.0009, + 29.001, 29.0011, 29.0012, 29.0013, 29.0014, 29.0015, 29.0016, 29.0017, + 29.0018, 29.0019 diff --git a/tools/test/h5ls/expected/tdset_idx.ls b/tools/test/h5ls/expected/tdset_idx.ls new file mode 100644 index 0000000..db59632 --- /dev/null +++ b/tools/test/h5ls/expected/tdset_idx.ls @@ -0,0 +1,33 @@ +dset_btree Dataset {20/200, 10/100} + Data: + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, + 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, + 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, + 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, + 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, + 2, 3, 4, 5, 6, 7, 8, 9 +dset_filter Dataset {20, 10} + Data: + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, + 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, + 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, + 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, + 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, + 2, 3, 4, 5, 6, 7, 8, 9 +dset_fixed Dataset {20, 10} + Data: + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, + 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, + 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, + 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, + 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, + 2, 3, 4, 5, 6, 7, 8, 9 diff --git a/tools/test/h5ls/expected/tempty.ls b/tools/test/h5ls/expected/tempty.ls new file mode 100644 index 0000000..a9d1e07 --- /dev/null +++ b/tools/test/h5ls/expected/tempty.ls @@ -0,0 +1,15 @@ +Dataset1.0 Dataset {4} + Data: + (), (), (), () +Dataset2.0 Dataset {4} + Data: + 0, 0, 0, 0 +Dataset3.0 Dataset {4} + Data: + 0, 0, 0, 0 +Dataset4.0 Dataset {4} + Data: + [0,0,0,0], [0,0,0,0], [0,0,0,0], [0,0,0,0] +Dataset5.0 Dataset {4} + Data: + {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0} diff --git a/tools/test/h5ls/expected/textlink-1.ls b/tools/test/h5ls/expected/textlink-1.ls new file mode 100644 index 0000000..a49001f --- /dev/null +++ b/tools/test/h5ls/expected/textlink-1.ls @@ -0,0 +1,3 @@ +/ Group +/extlink1 External Link {filename//objname} +/extlink2 External Link {anotherfile//anotherobj} diff --git a/tools/test/h5ls/expected/textlinksrc-1-old.ls b/tools/test/h5ls/expected/textlinksrc-1-old.ls new file mode 100644 index 0000000..ef26cc4 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-1-old.ls @@ -0,0 +1,20 @@ +/ Group +/ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Dataset {4, 2}} +/ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {**NOT FOUND**} +/ext_link1 External Link {textlinktar.h5//group} {Group} +/ext_link1/dset Dataset {6} +/ext_link1/elink_t1 External Link {textlinksrc.h5//} {Group} +/ext_link1/elink_t1/ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Already Visited} +/ext_link1/elink_t1/ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {Already Visited} +/ext_link1/elink_t1/ext_link1 External Link {textlinktar.h5//group} {Already Visited} +/ext_link1/elink_t1/ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +/ext_link1/elink_t1/ext_link3 External Link {textlinktar.h5//type} {Type} +/ext_link1/elink_t1/ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +/ext_link1/elink_t1/ext_link5 External Link {textlinktar.h5//empty_group} {Group} +/ext_link1/elink_t2 External Link {textlinksrc.h5//ext_link4} {**NOT FOUND**} +/ext_link1/subgroup Group +/ext_link1/subgroup/link_to_group Group, same as /ext_link1 +/ext_link2 External Link {textlinktar.h5//dset} {Already Visited} +/ext_link3 External Link {textlinktar.h5//type} {Already Visited} +/ext_link4 External Link {textlinktar.h5//group/elink_t2} {Already Visited} +/ext_link5 External Link {textlinktar.h5//empty_group} {Already Visited} diff --git a/tools/test/h5ls/expected/textlinksrc-1.ls b/tools/test/h5ls/expected/textlinksrc-1.ls new file mode 100644 index 0000000..ef26cc4 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-1.ls @@ -0,0 +1,20 @@ +/ Group +/ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Dataset {4, 2}} +/ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {**NOT FOUND**} +/ext_link1 External Link {textlinktar.h5//group} {Group} +/ext_link1/dset Dataset {6} +/ext_link1/elink_t1 External Link {textlinksrc.h5//} {Group} +/ext_link1/elink_t1/ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Already Visited} +/ext_link1/elink_t1/ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {Already Visited} +/ext_link1/elink_t1/ext_link1 External Link {textlinktar.h5//group} {Already Visited} +/ext_link1/elink_t1/ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +/ext_link1/elink_t1/ext_link3 External Link {textlinktar.h5//type} {Type} +/ext_link1/elink_t1/ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +/ext_link1/elink_t1/ext_link5 External Link {textlinktar.h5//empty_group} {Group} +/ext_link1/elink_t2 External Link {textlinksrc.h5//ext_link4} {**NOT FOUND**} +/ext_link1/subgroup Group +/ext_link1/subgroup/link_to_group Group, same as /ext_link1 +/ext_link2 External Link {textlinktar.h5//dset} {Already Visited} +/ext_link3 External Link {textlinktar.h5//type} {Already Visited} +/ext_link4 External Link {textlinktar.h5//group/elink_t2} {Already Visited} +/ext_link5 External Link {textlinktar.h5//empty_group} {Already Visited} diff --git a/tools/test/h5ls/expected/textlinksrc-2-old.ls b/tools/test/h5ls/expected/textlinksrc-2-old.ls new file mode 100644 index 0000000..a3044dd --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-2-old.ls @@ -0,0 +1,5 @@ +Opened "textlinksrc.h5" with sec2 driver. +ext_link5 External Link {textlinktar.h5//empty_group} {Group + Location: 5:1832 + Links: 1 +} diff --git a/tools/test/h5ls/expected/textlinksrc-2.ls b/tools/test/h5ls/expected/textlinksrc-2.ls new file mode 100644 index 0000000..a3044dd --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-2.ls @@ -0,0 +1,5 @@ +Opened "textlinksrc.h5" with sec2 driver. +ext_link5 External Link {textlinktar.h5//empty_group} {Group + Location: 5:1832 + Links: 1 +} diff --git a/tools/test/h5ls/expected/textlinksrc-3-old.ls b/tools/test/h5ls/expected/textlinksrc-3-old.ls new file mode 100644 index 0000000..75f3421 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-3-old.ls @@ -0,0 +1,13 @@ +ext_link1 External Link {textlinktar.h5//group} {Group} +/dset Dataset {6} +/elink_t1 External Link {textlinksrc.h5//} {Group} +/elink_t1/ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Dataset {4, 2}} +/elink_t1/ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {**NOT FOUND**} +/elink_t1/ext_link1 External Link {textlinktar.h5//group} {Already Visited} +/elink_t1/ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +/elink_t1/ext_link3 External Link {textlinktar.h5//type} {Type} +/elink_t1/ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +/elink_t1/ext_link5 External Link {textlinktar.h5//empty_group} {Group} +/elink_t2 External Link {textlinksrc.h5//ext_link4} {**NOT FOUND**} +/subgroup Group +/subgroup/link_to_group Group, same as /ext_link1 diff --git a/tools/test/h5ls/expected/textlinksrc-3.ls b/tools/test/h5ls/expected/textlinksrc-3.ls new file mode 100644 index 0000000..75f3421 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-3.ls @@ -0,0 +1,13 @@ +ext_link1 External Link {textlinktar.h5//group} {Group} +/dset Dataset {6} +/elink_t1 External Link {textlinksrc.h5//} {Group} +/elink_t1/ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Dataset {4, 2}} +/elink_t1/ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {**NOT FOUND**} +/elink_t1/ext_link1 External Link {textlinktar.h5//group} {Already Visited} +/elink_t1/ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +/elink_t1/ext_link3 External Link {textlinktar.h5//type} {Type} +/elink_t1/ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +/elink_t1/ext_link5 External Link {textlinktar.h5//empty_group} {Group} +/elink_t2 External Link {textlinksrc.h5//ext_link4} {**NOT FOUND**} +/subgroup Group +/subgroup/link_to_group Group, same as /ext_link1 diff --git a/tools/test/h5ls/expected/textlinksrc-4.ls b/tools/test/h5ls/expected/textlinksrc-4.ls new file mode 100644 index 0000000..449830f --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-4.ls @@ -0,0 +1,8 @@ +/ Group +/ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} +/ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} +/ext_link1 External Link {textlinktar.h5//group} +/ext_link2 External Link {textlinktar.h5//dset} +/ext_link3 External Link {textlinktar.h5//type} +/ext_link4 External Link {textlinktar.h5//group/elink_t2} +/ext_link5 External Link {textlinktar.h5//empty_group} diff --git a/tools/test/h5ls/expected/textlinksrc-5.ls b/tools/test/h5ls/expected/textlinksrc-5.ls new file mode 100644 index 0000000..8cba586 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-5.ls @@ -0,0 +1 @@ +ext_link1 External Link {textlinktar.h5//group} diff --git a/tools/test/h5ls/expected/textlinksrc-6-old.ls b/tools/test/h5ls/expected/textlinksrc-6-old.ls new file mode 100644 index 0000000..ae70721 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-6-old.ls @@ -0,0 +1,7 @@ +ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Dataset {4, 2}} +ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {**NOT FOUND**} +ext_link1 External Link {textlinktar.h5//group} {Group} +ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +ext_link3 External Link {textlinktar.h5//type} {Type} +ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +ext_link5 External Link {textlinktar.h5//empty_group} {Group} diff --git a/tools/test/h5ls/expected/textlinksrc-6.ls b/tools/test/h5ls/expected/textlinksrc-6.ls new file mode 100644 index 0000000..ae70721 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-6.ls @@ -0,0 +1,7 @@ +ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Dataset {4, 2}} +ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {**NOT FOUND**} +ext_link1 External Link {textlinktar.h5//group} {Group} +ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +ext_link3 External Link {textlinktar.h5//type} {Type} +ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +ext_link5 External Link {textlinktar.h5//empty_group} {Group} diff --git a/tools/test/h5ls/expected/textlinksrc-7-old.ls b/tools/test/h5ls/expected/textlinksrc-7-old.ls new file mode 100644 index 0000000..e9a5a03 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-7-old.ls @@ -0,0 +1 @@ +ext_link1 External Link {textlinktar.h5//group} {Group} diff --git a/tools/test/h5ls/expected/textlinksrc-7.ls b/tools/test/h5ls/expected/textlinksrc-7.ls new file mode 100644 index 0000000..e9a5a03 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-7.ls @@ -0,0 +1 @@ +ext_link1 External Link {textlinktar.h5//group} {Group} diff --git a/tools/test/h5ls/expected/textlinksrc-nodangle-1.ls b/tools/test/h5ls/expected/textlinksrc-nodangle-1.ls new file mode 100644 index 0000000..1cf733b --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-nodangle-1.ls @@ -0,0 +1,79 @@ +usage: h5ls [OPTIONS] file[/OBJECT] [file[/[OBJECT]...] + OPTIONS + -h, -?, --help Print a usage message and exit + -a, --address Print raw data address. If dataset is contiguous, address + is offset in file of beginning of raw data. If chunked, + returned list of addresses indicates offset of each chunk. + Must be used with -v, --verbose option. + Provides no information for non-dataset objects. + -d, --data Print the values of datasets + --enable-error-stack + Prints messages from the HDF5 error stack as they occur. + --follow-symlinks + Follow symbolic links (soft links and external links) + to display target object information. + Without this option, h5ls identifies a symbolic link + as a soft link or external link and prints the value + assigned to the symbolic link; it does not provide any + information regarding the target object or determine + whether the link is a dangling link. + --no-dangling-links + Must be used with --follow-symlinks option; + otherwise, h5ls shows error message and returns an exit + code of 1. + Check for any symbolic links (soft links or external links) + that do not resolve to an existing object (dataset, group, + or named datatype). + If any dangling link is found, this situation is treated + as an error and h5ls returns an exit code of 1. + -f, --full Print full path names instead of base names + -g, --group Show information about a group, not its contents + -l, --label Label members of compound datasets + -r, --recursive List all groups recursively, avoiding cycles + -s, --string Print 1-byte integer datasets as ASCII + -S, --simple Use a machine-readable output format + -wN, --width=N Set the number of columns of output + -v, --verbose Generate more verbose output + -V, --version Print version number and exit + --vfd=DRIVER Use the specified virtual file driver + -x, --hexdump Show raw data in hexadecimal format + --s3-cred=C Supply S3 authentication information to "ros3" vfd. + Accepts tuple of "(<aws-region>,<access-id>,<access-key>)". + If absent or C->"(,,)", defaults to no-authentication. + Has no effect if vfd flag not set to "ros3". + --hdfs-attrs=A Supply configuration information to Hadoop VFD. + Accepts tuple of (<namenode name>,<namenode port>, + ...<kerberos cache path>,<username>,<buffer size>) + If absent or A == '(,,,,)', all default values are used. + Has no effect if vfd flag is not 'hdfs'. + --vol-value Value (ID) of the VOL connector to use for opening the + HDF5 file specified + --vol-name Name of the VOL connector to use for opening the + HDF5 file specified + --vol-info VOL-specific info to pass to the VOL connector used for + opening the HDF5 file specified + If none of the above options are used to specify a VOL, then + the VOL named by HDF5_VOL_CONNECTOR (or the native VOL connector, + if that environment variable is unset) will be used + --vfd-value Value (ID) of the VFL driver to use for opening the + HDF5 file specified + --vfd-name Name of the VFL driver to use for opening the + HDF5 file specified + --vfd-info VFD-specific info to pass to the VFL driver used for + opening the HDF5 file specified + + file/OBJECT + Each object consists of an HDF5 file name optionally followed by a + slash and an object name within the file (if no object is specified + within the file then the contents of the root group are displayed). + The file name may include a printf(3C) integer format such as + "%05d" to open a file family. + + Deprecated Options + The following options have been removed in HDF5 1.12. Use the indicated + replacement option in all work. + + -E or --external Follow external links. + Replaced by --follow-symlinks. + -e, --errors Show all HDF5 error reporting + Replaced by --enable-error-stack. diff --git a/tools/test/h5ls/expected/textlinksrc-nodangle-2.ls b/tools/test/h5ls/expected/textlinksrc-nodangle-2.ls new file mode 100644 index 0000000..ae70721 --- /dev/null +++ b/tools/test/h5ls/expected/textlinksrc-nodangle-2.ls @@ -0,0 +1,7 @@ +ext2soft_link1 External Link {tsoftlinks.h5//soft_dset1} {Dataset {4, 2}} +ext2softdangle_link1 External Link {tsoftlinks.h5//soft_dangle} {**NOT FOUND**} +ext_link1 External Link {textlinktar.h5//group} {Group} +ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +ext_link3 External Link {textlinktar.h5//type} {Type} +ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +ext_link5 External Link {textlinktar.h5//empty_group} {Group} diff --git a/tools/test/h5ls/expected/tgroup-1.ls b/tools/test/h5ls/expected/tgroup-1.ls new file mode 100644 index 0000000..1cf733b --- /dev/null +++ b/tools/test/h5ls/expected/tgroup-1.ls @@ -0,0 +1,79 @@ +usage: h5ls [OPTIONS] file[/OBJECT] [file[/[OBJECT]...] + OPTIONS + -h, -?, --help Print a usage message and exit + -a, --address Print raw data address. If dataset is contiguous, address + is offset in file of beginning of raw data. If chunked, + returned list of addresses indicates offset of each chunk. + Must be used with -v, --verbose option. + Provides no information for non-dataset objects. + -d, --data Print the values of datasets + --enable-error-stack + Prints messages from the HDF5 error stack as they occur. + --follow-symlinks + Follow symbolic links (soft links and external links) + to display target object information. + Without this option, h5ls identifies a symbolic link + as a soft link or external link and prints the value + assigned to the symbolic link; it does not provide any + information regarding the target object or determine + whether the link is a dangling link. + --no-dangling-links + Must be used with --follow-symlinks option; + otherwise, h5ls shows error message and returns an exit + code of 1. + Check for any symbolic links (soft links or external links) + that do not resolve to an existing object (dataset, group, + or named datatype). + If any dangling link is found, this situation is treated + as an error and h5ls returns an exit code of 1. + -f, --full Print full path names instead of base names + -g, --group Show information about a group, not its contents + -l, --label Label members of compound datasets + -r, --recursive List all groups recursively, avoiding cycles + -s, --string Print 1-byte integer datasets as ASCII + -S, --simple Use a machine-readable output format + -wN, --width=N Set the number of columns of output + -v, --verbose Generate more verbose output + -V, --version Print version number and exit + --vfd=DRIVER Use the specified virtual file driver + -x, --hexdump Show raw data in hexadecimal format + --s3-cred=C Supply S3 authentication information to "ros3" vfd. + Accepts tuple of "(<aws-region>,<access-id>,<access-key>)". + If absent or C->"(,,)", defaults to no-authentication. + Has no effect if vfd flag not set to "ros3". + --hdfs-attrs=A Supply configuration information to Hadoop VFD. + Accepts tuple of (<namenode name>,<namenode port>, + ...<kerberos cache path>,<username>,<buffer size>) + If absent or A == '(,,,,)', all default values are used. + Has no effect if vfd flag is not 'hdfs'. + --vol-value Value (ID) of the VOL connector to use for opening the + HDF5 file specified + --vol-name Name of the VOL connector to use for opening the + HDF5 file specified + --vol-info VOL-specific info to pass to the VOL connector used for + opening the HDF5 file specified + If none of the above options are used to specify a VOL, then + the VOL named by HDF5_VOL_CONNECTOR (or the native VOL connector, + if that environment variable is unset) will be used + --vfd-value Value (ID) of the VFL driver to use for opening the + HDF5 file specified + --vfd-name Name of the VFL driver to use for opening the + HDF5 file specified + --vfd-info VFD-specific info to pass to the VFL driver used for + opening the HDF5 file specified + + file/OBJECT + Each object consists of an HDF5 file name optionally followed by a + slash and an object name within the file (if no object is specified + within the file then the contents of the root group are displayed). + The file name may include a printf(3C) integer format such as + "%05d" to open a file family. + + Deprecated Options + The following options have been removed in HDF5 1.12. Use the indicated + replacement option in all work. + + -E or --external Follow external links. + Replaced by --follow-symlinks. + -e, --errors Show all HDF5 error reporting + Replaced by --enable-error-stack. diff --git a/tools/test/h5ls/expected/tgroup-2.ls b/tools/test/h5ls/expected/tgroup-2.ls new file mode 100644 index 0000000..464d4d7 --- /dev/null +++ b/tools/test/h5ls/expected/tgroup-2.ls @@ -0,0 +1 @@ +g1 Group diff --git a/tools/test/h5ls/expected/tgroup-3.ls b/tools/test/h5ls/expected/tgroup-3.ls new file mode 100644 index 0000000..959415f --- /dev/null +++ b/tools/test/h5ls/expected/tgroup-3.ls @@ -0,0 +1,2 @@ +g1.1 Group +g1.2 Group diff --git a/tools/test/h5ls/expected/tgroup.ls b/tools/test/h5ls/expected/tgroup.ls new file mode 100644 index 0000000..549b166 --- /dev/null +++ b/tools/test/h5ls/expected/tgroup.ls @@ -0,0 +1,3 @@ +g1 Group +g2 Group +g3 Group diff --git a/tools/test/h5ls/expected/tgrp_comments.ls b/tools/test/h5ls/expected/tgrp_comments.ls new file mode 100644 index 0000000..c36a819 --- /dev/null +++ b/tools/test/h5ls/expected/tgrp_comments.ls @@ -0,0 +1,5 @@ +Opened "tgrp_comments.h5" with sec2 driver. +glongcomment Group + Location: 1:12424 + Links: 1 + Comment: "Comment for group /glongcomment with a really, really, really long, long, long comment" diff --git a/tools/test/h5ls/expected/tgrpnullspace.ls b/tools/test/h5ls/expected/tgrpnullspace.ls new file mode 100644 index 0000000..62689c0 --- /dev/null +++ b/tools/test/h5ls/expected/tgrpnullspace.ls @@ -0,0 +1,6 @@ +Opened "tgrpnullspace.h5" with sec2 driver. +g1 Group + Attribute: attr null + Type: 32-bit little-endian unsigned integer + Location: 1:800 + Links: 1 diff --git a/tools/test/h5ls/expected/thlink-1.ls b/tools/test/h5ls/expected/thlink-1.ls new file mode 100644 index 0000000..adcd38a --- /dev/null +++ b/tools/test/h5ls/expected/thlink-1.ls @@ -0,0 +1,4 @@ +dset1 Dataset {5} +g1 Group +g2 Group +g3 Group, same as / diff --git a/tools/test/h5ls/expected/thlinks-nodangle-1.ls b/tools/test/h5ls/expected/thlinks-nodangle-1.ls new file mode 100644 index 0000000..adcd38a --- /dev/null +++ b/tools/test/h5ls/expected/thlinks-nodangle-1.ls @@ -0,0 +1,4 @@ +dset1 Dataset {5} +g1 Group +g2 Group +g3 Group, same as / diff --git a/tools/test/h5ls/expected/tloop-1.ls b/tools/test/h5ls/expected/tloop-1.ls new file mode 100644 index 0000000..a68bd3b --- /dev/null +++ b/tools/test/h5ls/expected/tloop-1.ls @@ -0,0 +1,5 @@ +/ Group +/g1 Group +/g1/g1.1 Group +/g1/g1.1/g2.1 Group, same as /g1 +/g2 Group, same as /g1/g1.1 diff --git a/tools/test/h5ls/expected/tmultifile.ls b/tools/test/h5ls/expected/tmultifile.ls new file mode 100644 index 0000000..3fee937 --- /dev/null +++ b/tools/test/h5ls/expected/tmultifile.ls @@ -0,0 +1,6 @@ +dset1 Dataset {5} +g1 Group +g2 Group +g3 Group, same as / +slink1 Soft Link {somevalue} +slink2 Soft Link {linkvalue} diff --git a/tools/test/h5ls/expected/tnestcomp-1.ls b/tools/test/h5ls/expected/tnestcomp-1.ls new file mode 100644 index 0000000..c6342e1 --- /dev/null +++ b/tools/test/h5ls/expected/tnestcomp-1.ls @@ -0,0 +1,11 @@ +/ Group +/ArrayOfStructures Dataset {10} + Data: + {0, 0, 1, {"A", [-100,100]}}, {1, 1, 0.5, {"B", [-100,100]}}, + {2, 4, 0.333333333333333, {"C", [-100,100]}}, + {3, 9, 0.25, {"D", [-100,100]}}, {4, 16, 0.2, {"E", [-100,100]}}, + {5, 25, 0.166666666666667, {"F", [-100,100]}}, + {6, 36, 0.142857142857143, {"G", [-100,100]}}, + {7, 49, 0.125, {"H", [-100,100]}}, + {8, 64, 0.111111111111111, {"I", [-100,100]}}, + {9, 81, 0.1, {"J", [-100,100]}} diff --git a/tools/test/h5ls/expected/tnestcomp-2.ls b/tools/test/h5ls/expected/tnestcomp-2.ls new file mode 100644 index 0000000..64be630 --- /dev/null +++ b/tools/test/h5ls/expected/tnestcomp-2.ls @@ -0,0 +1,13 @@ +/ Group +/ArrayOfStructures Dataset {10} + Data: + 0 0 1 "A" -100 100 + 1 1 0.5 "B" -100 100 + 2 4 0.333333333333333 "C" -100 100 + 3 9 0.25 "D" -100 100 + 4 16 0.2 "E" -100 100 + 5 25 0.166666666666667 "F" -100 100 + 6 36 0.142857142857143 "G" -100 100 + 7 49 0.125 "H" -100 100 + 8 64 0.111111111111111 "I" -100 100 + 9 81 0.1 "J" -100 100 diff --git a/tools/test/h5ls/expected/tnestcomp-3.ls b/tools/test/h5ls/expected/tnestcomp-3.ls new file mode 100644 index 0000000..d9a6a1f --- /dev/null +++ b/tools/test/h5ls/expected/tnestcomp-3.ls @@ -0,0 +1,23 @@ +/ Group +/ArrayOfStructures Dataset {10} + Data: + {a_name=0, b_name=0, c_name=1, d_name={char_name="A", + array_name=[-100,100]}}, + {a_name=1, b_name=1, c_name=0.5, d_name={char_name="B", + array_name=[-100,100]}}, + {a_name=2, b_name=4, c_name=0.333333333333333, d_name={char_name="C", + array_name=[-100,100]}}, + {a_name=3, b_name=9, c_name=0.25, d_name={char_name="D", + array_name=[-100,100]}}, + {a_name=4, b_name=16, c_name=0.2, d_name={char_name="E", + array_name=[-100,100]}}, + {a_name=5, b_name=25, c_name=0.166666666666667, + d_name={char_name="F", array_name=[-100,100]}}, + {a_name=6, b_name=36, c_name=0.142857142857143, + d_name={char_name="G", array_name=[-100,100]}}, + {a_name=7, b_name=49, c_name=0.125, d_name={char_name="H", + array_name=[-100,100]}}, + {a_name=8, b_name=64, c_name=0.111111111111111, + d_name={char_name="I", array_name=[-100,100]}}, + {a_name=9, b_name=81, c_name=0.1, d_name={char_name="J", + array_name=[-100,100]}} diff --git a/tools/test/h5ls/expected/tnestcomp-4.ls b/tools/test/h5ls/expected/tnestcomp-4.ls new file mode 100644 index 0000000..d937e86 --- /dev/null +++ b/tools/test/h5ls/expected/tnestcomp-4.ls @@ -0,0 +1,13 @@ +/ Group +/ArrayOfStructures Dataset {10} + Data: + {a_name=0 b_name=0 c_name=1 d_name={char_name="A" array_name=-100 100}} + {a_name=1 b_name=1 c_name=0.5 d_name={char_name="B" array_name=-100 100}} + {a_name=2 b_name=4 c_name=0.333333333333333 d_name={char_name="C" array_name=-100 100}} + {a_name=3 b_name=9 c_name=0.25 d_name={char_name="D" array_name=-100 100}} + {a_name=4 b_name=16 c_name=0.2 d_name={char_name="E" array_name=-100 100}} + {a_name=5 b_name=25 c_name=0.166666666666667 d_name={char_name="F" array_name=-100 100}} + {a_name=6 b_name=36 c_name=0.142857142857143 d_name={char_name="G" array_name=-100 100}} + {a_name=7 b_name=49 c_name=0.125 d_name={char_name="H" array_name=-100 100}} + {a_name=8 b_name=64 c_name=0.111111111111111 d_name={char_name="I" array_name=-100 100}} + {a_name=9 b_name=81 c_name=0.1 d_name={char_name="J" array_name=-100 100}} diff --git a/tools/test/h5ls/expected/tsaf.ls b/tools/test/h5ls/expected/tsaf.ls new file mode 100644 index 0000000..c62d6d0 --- /dev/null +++ b/tools/test/h5ls/expected/tsaf.ls @@ -0,0 +1,618 @@ +/ Group +/.DSL_METADATA Dataset {5919/Inf} + Data: + 47, 32, 67, 79, 78, 84, 65, 73, 78, 69, 82, 10, 47, 46, 97, 116, 116, + 114, 105, 98, 117, 116, 101, 115, 32, 67, 79, 78, 84, 65, 73, 78, 69, + 82, 10, 47, 46, 97, 116, 116, 114, 105, 98, 117, 116, 101, 115, 47, + 100, 97, 116, 97, 98, 97, 115, 101, 32, 67, 79, 78, 84, 65, 73, 78, 69, + 82, 10, 47, 46, 97, 116, 116, 114, 105, 98, 117, 116, 101, 115, 47, + 100, 97, 116, 97, 98, 97, 115, 101, 47, 46, 83, 65, 70, 95, 68, 98, 80, + 114, 111, 112, 115, 32, 68, 65, 84, 65, 83, 69, 84, 32, 115, 116, 114, + 117, 99, 116, 32, 83, 65, 70, 95, 68, 98, 80, 114, 111, 112, 115, 123, + 105, 110, 116, 32, 109, 97, 103, 105, 99, 59, 99, 104, 97, 114, 32, 83, + 70, 105, 108, 101, 68, 105, 114, 91, 49, 48, 50, 52, 93, 59, 99, 104, + 97, 114, 32, 73, 109, 112, 111, 114, 116, 70, 105, 108, 101, 91, 49, + 48, 50, 52, 93, 59, 105, 110, 116, 32, 112, 97, 114, 97, 108, 108, 101, + 108, 59, 115, 116, 114, 117, 99, 116, 32, 83, 65, 70, 95, 86, 101, 114, + 115, 105, 111, 110, 73, 110, 102, 111, 123, 105, 110, 116, 32, 118, + 109, 97, 106, 111, 114, 59, 105, 110, 116, 32, 118, 109, 105, 110, 111, + 114, 59, 105, 110, 116, 32, 114, 101, 108, 59, 99, 104, 97, 114, 32, + 97, 110, 110, 111, 116, 91, 49, 48, 93, 59, 125, 115, 97, 102, 97, 112, + 105, 59, 115, 116, 114, 117, 99, 116, 32, 83, 65, 70, 95, 86, 101, 114, + 115, 105, 111, 110, 73, 110, 102, 111, 123, 105, 110, 116, 32, 118, + 109, 97, 106, 111, 114, 59, 105, 110, 116, 32, 118, 109, 105, 110, 111, + 114, 59, 105, 110, 116, 32, 114, 101, 108, 59, 99, 104, 97, 114, 32, + 97, 110, 110, 111, 116, 91, 49, 48, 93, 59, 125, 115, 97, 102, 108, + 105, 98, 59, 115, 116, 114, 117, 99, 116, 32, 83, 65, 70, 95, 86, 101, + 114, 115, 105, 111, 110, 73, 110, 102, 111, 123, 105, 110, 116, 32, + 118, 109, 97, 106, 111, 114, 59, 105, 110, 116, 32, 118, 109, 105, 110, + 111, 114, 59, 105, 110, 116, 32, 114, 101, 108, 59, 99, 104, 97, 114, + 32, 97, 110, 110, 111, 116, 91, 49, 48, 93, 59, 125, 118, 98, 116, 59, + 115, 116, 114, 117, 99, 116, 32, 83, 65, 70, 95, 86, 101, 114, 115, + 105, 111, 110, 73, 110, 102, 111, 123, 105, 110, 116, 32, 118, 109, 97, + 106, 111, 114, 59, 105, 110, 116, 32, 118, 109, 105, 110, 111, 114, 59, + 105, 110, 116, 32, 114, 101, 108, 59, 99, 104, 97, 114, 32, 97, 110, + 110, 111, 116, 91, 49, 48, 93, 59, 125, 100, 115, 108, 59, 115, 116, + 114, 117, 99, 116, 32, 83, 65, 70, 95, 86, 101, 114, 115, 105, 111, + 110, 73, 110, 102, 111, 123, 105, 110, 116, 32, 118, 109, 97, 106, 111, + 114, 59, 105, 110, 116, 32, 118, 109, 105, 110, 111, 114, 59, 105, 110, + 116, 32, 114, 101, 108, 59, 99, 104, 97, 114, 32, 97, 110, 110, 111, + 116, 91, 49, 48, 93, 59, 125, 104, 100, 102, 53, 59, 115, 116, 114, + 117, 99, 116, 32, 83, 65, 70, 95, 86, 101, 114, 115, 105, 111, 110, 73, + 110, 102, 111, 123, 105, 110, 116, 32, 118, 109, 97, 106, 111, 114, 59, + 105, 110, 116, 32, 118, 109, 105, 110, 111, 114, 59, 105, 110, 116, 32, + 114, 101, 108, 59, 99, 104, 97, 114, 32, 97, 110, 110, 111, 116, 91, + 49, 48, 93, 59, 125, 109, 112, 105, 59, 105, 110, 116, 32, 68, 111, 84, + 111, 99, 59, 105, 110, 116, 32, 82, 101, 97, 100, 79, 110, 108, 121, + 59, 105, 110, 116, 32, 67, 108, 111, 98, 98, 101, 114, 59, 105, 110, + 116, 32, 79, 83, 77, 111, 100, 101, 115, 59, 125, 59, 10, 47, 115, 115, + 114, 101, 108, 45, 95, 48, 48, 48, 48, 32, 68, 65, 84, 65, 83, 69, 84, + 32, 105, 110, 116, 59, 10, 47, 115, 115, 114, 101, 108, 45, 95, 48, 48, + 48, 49, 32, 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, + 115, 115, 114, 101, 108, 45, 95, 48, 48, 48, 50, 32, 68, 65, 84, 65, + 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, 115, 115, 114, 101, 108, 45, + 95, 48, 48, 48, 51, 32, 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, + 59, 10, 47, 115, 115, 114, 101, 108, 45, 95, 48, 48, 48, 52, 32, 68, + 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, 115, 115, 114, + 101, 108, 45, 95, 48, 48, 48, 53, 32, 68, 65, 84, 65, 83, 69, 84, 32, + 105, 110, 116, 59, 10, 47, 115, 115, 114, 101, 108, 45, 95, 48, 48, 48, + 54, 32, 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, 115, + 115, 114, 101, 108, 45, 95, 48, 48, 48, 55, 32, 68, 65, 84, 65, 83, 69, + 84, 32, 105, 110, 116, 59, 10, 47, 115, 115, 114, 101, 108, 45, 95, 48, + 48, 48, 56, 32, 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, + 47, 115, 115, 114, 101, 108, 45, 95, 48, 48, 48, 57, 32, 68, 65, 84, + 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, 115, 115, 114, 101, 108, + 45, 95, 48, 48, 49, 48, 32, 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, + 116, 59, 10, 47, 115, 115, 114, 101, 108, 45, 95, 48, 48, 49, 49, 32, + 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, 115, 115, + 114, 101, 108, 45, 95, 48, 48, 49, 50, 32, 68, 65, 84, 65, 83, 69, 84, + 32, 105, 110, 116, 59, 10, 47, 116, 111, 112, 111, 114, 101, 108, 45, + 95, 48, 48, 49, 55, 32, 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, + 59, 10, 47, 116, 111, 112, 111, 114, 101, 108, 45, 95, 48, 48, 49, 56, + 32, 68, 65, 84, 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, 116, + 111, 112, 111, 114, 101, 108, 45, 95, 48, 48, 49, 57, 32, 68, 65, 84, + 65, 83, 69, 84, 32, 105, 110, 116, 59, 10, 47, 116, 111, 112, 111, 114, + 101, 108, 45, 95, 48, 48, 50, 48, 32, 68, 65, 84, 65, 83, 69, 84, 32, + 105, 110, 116, 59, 10, 47, 102, 105, 101, 108, 100, 45, 99, 111, 111, + 114, 100, 115, 95, 48, 48, 48, 50, 32, 68, 65, 84, 65, 83, 69, 84, 32, + 102, 108, 111, 97, 116, 59, 10, 47, 102, 105, 101, 108, 100, 45, 100, + 105, 115, 116, 114, 105, 98, 117, 116, 105, 111, 110, 95, 102, 97, 99, + 116, 111, 114, 115, 95, 48, 48, 48, 51, 32, 68, 65, 84, 65, 83, 69, 84, + 32, 102, 108, 111, 97, 116, 59, 10, 47, 102, 105, 101, 108, 100, 45, + 116, 101, 109, 112, 101, 114, 97, 116, 117, 114, 101, 95, 48, 48, 48, + 52, 32, 68, 65, 84, 65, 83, 69, 84, 32, 102, 108, 111, 97, 116, 59, 10, + 47, 102, 105, 101, 108, 100, 45, 100, 105, 115, 112, 108, 97, 99, 101, + 109, 101, 110, 116, 115, 95, 48, 48, 48, 55, 32, 68, 65, 84, 65, 83, + 69, 84, 32, 102, 108, 111, 97, 116, 59, 10, 47, 102, 105, 101, 108, + 100, 45, 115, 116, 114, 101, 115, 115, 95, 48, 48, 49, 49, 32, 68, 65, + 84, 65, 83, 69, 84, 32, 102, 108, 111, 97, 116, 59, 10, 47, 102, 105, + 101, 108, 100, 45, 116, 101, 109, 112, 101, 114, 97, 116, 117, 114, + 101, 95, 48, 48, 49, 50, 32, 68, 65, 84, 65, 83, 69, 84, 32, 102, 108, + 111, 97, 116, 59, 10, 47, 102, 105, 101, 108, 100, 45, 112, 114, 101, + 115, 115, 117, 114, 101, 95, 48, 48, 49, 51, 32, 68, 65, 84, 65, 83, + 69, 84, 32, 102, 108, 111, 97, 116, 59, 10, 47, 66, 108, 111, 98, 32, + 68, 65, 84, 65, 83, 69, 84, 32, 115, 116, 114, 117, 99, 116, 32, 66, + 108, 111, 98, 123, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, + 102, 105, 108, 101, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, + 115, 101, 116, 32, 100, 97, 116, 97, 115, 101, 116, 95, 105, 100, 59, + 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 111, 102, 102, 115, + 101, 116, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 115, + 116, 114, 105, 100, 101, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, + 116, 32, 99, 111, 117, 110, 116, 59, 68, 83, 76, 95, 79, 102, 102, 115, + 101, 116, 32, 98, 97, 115, 101, 95, 105, 100, 59, 68, 83, 76, 95, 79, + 102, 102, 115, 101, 116, 32, 110, 117, 109, 95, 114, 101, 99, 115, 59, + 125, 59, 10, 47, 73, 110, 100, 101, 120, 83, 112, 101, 99, 32, 68, 65, + 84, 65, 83, 69, 84, 32, 115, 116, 114, 117, 99, 116, 32, 73, 110, 100, + 101, 120, 83, 112, 101, 99, 123, 105, 110, 116, 32, 110, 100, 105, 109, + 115, 59, 105, 110, 116, 32, 111, 114, 105, 103, 105, 110, 115, 91, 56, + 93, 59, 105, 110, 116, 32, 115, 105, 122, 101, 115, 91, 56, 93, 59, + 105, 110, 116, 32, 111, 114, 100, 101, 114, 91, 56, 93, 59, 101, 110, + 117, 109, 32, 73, 110, 100, 101, 120, 84, 121, 112, 101, 123, 86, 66, + 84, 95, 73, 78, 68, 69, 88, 95, 84, 89, 80, 69, 95, 67, 95, 79, 82, 68, + 69, 82, 61, 48, 44, 86, 66, 84, 95, 73, 78, 68, 69, 88, 95, 84, 89, 80, + 69, 95, 70, 95, 79, 82, 68, 69, 82, 61, 49, 44, 86, 66, 84, 95, 73, 78, + 68, 69, 88, 95, 84, 89, 80, 69, 95, 65, 78, 89, 61, 45, 49, 44, 86, 66, + 84, 95, 73, 78, 68, 69, 88, 95, 84, 89, 80, 69, 95, 73, 78, 86, 65, 76, + 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 73, 78, 68, 69, 88, 95, 84, 89, + 80, 69, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, 73, 78, 68, 69, 88, + 95, 84, 89, 80, 69, 95, 85, 78, 75, 78, 79, 87, 78, 61, 45, 52, 125, + 105, 110, 100, 101, 120, 95, 116, 121, 112, 101, 59, 68, 83, 76, 95, + 79, 102, 102, 115, 101, 116, 32, 98, 97, 115, 101, 95, 105, 100, 59, + 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 110, 117, 109, 95, + 114, 101, 99, 115, 59, 125, 59, 10, 47, 67, 97, 116, 32, 68, 65, 84, + 65, 83, 69, 84, 32, 115, 116, 114, 117, 99, 116, 32, 67, 97, 116, 123, + 99, 104, 97, 114, 32, 110, 97, 109, 101, 91, 54, 52, 93, 59, 101, 110, + 117, 109, 32, 82, 111, 108, 101, 123, 86, 66, 84, 95, 82, 79, 76, 69, + 95, 84, 79, 80, 79, 61, 48, 44, 86, 66, 84, 95, 82, 79, 76, 69, 95, 66, + 78, 68, 61, 49, 44, 86, 66, 84, 95, 82, 79, 76, 69, 95, 80, 82, 79, 67, + 61, 50, 44, 86, 66, 84, 95, 82, 79, 76, 69, 95, 68, 79, 77, 78, 61, 51, + 44, 86, 66, 84, 95, 82, 79, 76, 69, 95, 66, 76, 79, 67, 75, 61, 52, 44, + 86, 66, 84, 95, 82, 79, 76, 69, 95, 65, 83, 83, 89, 61, 53, 44, 86, 66, + 84, 95, 82, 79, 76, 69, 95, 77, 65, 84, 61, 54, 44, 86, 66, 84, 95, 82, + 79, 76, 69, 95, 88, 80, 82, 79, 68, 61, 55, 44, 86, 66, 84, 95, 82, 79, + 76, 69, 95, 85, 83, 69, 82, 68, 61, 56, 44, 86, 66, 84, 95, 82, 79, 76, + 69, 95, 65, 78, 89, 61, 45, 49, 44, 86, 66, 84, 95, 82, 79, 76, 69, 95, + 73, 78, 86, 65, 76, 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 82, 79, 76, + 69, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, 82, 79, 76, 69, 95, 85, + 78, 75, 78, 79, 87, 78, 61, 45, 52, 125, 114, 111, 108, 101, 59, 105, + 110, 116, 32, 116, 100, 105, 109, 59, 68, 83, 76, 95, 79, 102, 102, + 115, 101, 116, 32, 98, 97, 115, 101, 95, 105, 100, 59, 68, 83, 76, 95, + 79, 102, 102, 115, 101, 116, 32, 110, 117, 109, 95, 114, 101, 99, 115, + 59, 125, 59, 10, 47, 83, 101, 116, 32, 68, 65, 84, 65, 83, 69, 84, 32, + 115, 116, 114, 117, 99, 116, 32, 83, 101, 116, 123, 105, 110, 116, 32, + 117, 115, 101, 114, 95, 105, 100, 59, 99, 104, 97, 114, 32, 110, 97, + 109, 101, 91, 54, 52, 93, 59, 105, 110, 116, 32, 116, 100, 105, 109, + 59, 101, 110, 117, 109, 32, 83, 105, 108, 82, 111, 108, 101, 123, 86, + 66, 84, 95, 83, 82, 79, 76, 69, 95, 84, 73, 77, 69, 61, 48, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 83, 80, 65, 67, 69, 61, 49, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 83, 84, 65, 84, 69, 61, 50, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 80, 65, 82, 65, 77, 61, 51, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 67, 84, 89, 80, 69, 61, 52, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 65, 84, 89, 80, 69, 61, 53, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 85, 83, 69, 82, 68, 61, 54, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 65, 78, 89, 61, 45, 49, 44, 86, 66, 84, + 95, 83, 82, 79, 76, 69, 95, 73, 78, 86, 65, 76, 73, 68, 61, 45, 50, 44, + 86, 66, 84, 95, 83, 82, 79, 76, 69, 95, 78, 65, 61, 45, 51, 44, 86, 66, + 84, 95, 83, 82, 79, 76, 69, 95, 85, 78, 75, 78, 79, 87, 78, 61, 45, 52, + 125, 115, 114, 111, 108, 101, 59, 68, 83, 76, 95, 79, 102, 102, 115, + 101, 116, 32, 99, 111, 108, 108, 95, 105, 100, 115, 91, 49, 54, 93, 59, + 105, 110, 116, 32, 105, 115, 95, 116, 111, 112, 59, 105, 110, 116, 32, + 105, 115, 95, 101, 120, 116, 101, 110, 100, 105, 98, 108, 101, 59, 68, + 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 100, 102, 108, 116, 95, + 99, 111, 111, 114, 100, 102, 108, 100, 95, 105, 100, 59, 68, 83, 76, + 95, 79, 102, 102, 115, 101, 116, 32, 98, 110, 100, 95, 115, 101, 116, + 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 98, + 97, 115, 101, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, + 116, 32, 110, 117, 109, 95, 114, 101, 99, 115, 59, 125, 59, 10, 47, 67, + 111, 108, 108, 101, 99, 116, 105, 111, 110, 32, 68, 65, 84, 65, 83, 69, + 84, 32, 115, 116, 114, 117, 99, 116, 32, 67, 111, 108, 108, 101, 99, + 116, 105, 111, 110, 123, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, + 32, 99, 111, 110, 116, 97, 105, 110, 105, 110, 103, 95, 115, 101, 116, + 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 99, + 97, 116, 95, 105, 100, 59, 101, 110, 117, 109, 32, 67, 101, 108, 108, + 84, 121, 112, 101, 123, 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, + 69, 95, 78, 79, 78, 69, 61, 48, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, + 84, 89, 80, 69, 95, 80, 79, 73, 78, 84, 61, 49, 44, 86, 66, 84, 95, 67, + 69, 76, 76, 95, 84, 89, 80, 69, 95, 76, 73, 78, 69, 61, 50, 44, 86, 66, + 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 84, 82, 73, 61, 51, 44, + 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 81, 85, 65, 68, + 61, 52, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 84, + 69, 84, 61, 53, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, + 95, 80, 89, 82, 65, 77, 73, 68, 61, 54, 44, 86, 66, 84, 95, 67, 69, 76, + 76, 95, 84, 89, 80, 69, 95, 80, 82, 73, 83, 77, 61, 55, 44, 86, 66, 84, + 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 72, 69, 88, 61, 56, 44, 86, + 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 77, 73, 88, 69, 68, + 61, 57, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 65, + 82, 66, 61, 49, 48, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, + 69, 95, 49, 66, 65, 76, 76, 61, 49, 49, 44, 86, 66, 84, 95, 67, 69, 76, + 76, 95, 84, 89, 80, 69, 95, 50, 66, 65, 76, 76, 61, 49, 50, 44, 86, 66, + 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 51, 66, 65, 76, 76, 61, + 49, 51, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 49, + 83, 72, 69, 76, 76, 61, 49, 52, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, + 84, 89, 80, 69, 95, 50, 83, 72, 69, 76, 76, 61, 49, 53, 44, 86, 66, 84, + 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 65, 78, 89, 61, 45, 49, 44, + 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, 80, 69, 95, 73, 78, 86, 65, + 76, 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, 84, 89, + 80, 69, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, 67, 69, 76, 76, 95, + 84, 89, 80, 69, 95, 85, 78, 75, 78, 79, 87, 78, 61, 45, 52, 125, 99, + 101, 108, 108, 95, 116, 121, 112, 101, 59, 105, 110, 116, 32, 99, 111, + 117, 110, 116, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, + 105, 110, 100, 101, 120, 105, 110, 103, 95, 105, 100, 59, 105, 110, + 116, 32, 105, 115, 95, 100, 101, 99, 111, 109, 112, 59, 68, 83, 76, 95, + 79, 102, 102, 115, 101, 116, 32, 109, 101, 109, 98, 101, 114, 115, 95, + 98, 108, 111, 98, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, + 101, 116, 32, 98, 97, 115, 101, 95, 105, 100, 59, 68, 83, 76, 95, 79, + 102, 102, 115, 101, 116, 32, 110, 117, 109, 95, 114, 101, 99, 115, 59, + 125, 59, 10, 47, 82, 101, 108, 97, 116, 105, 111, 110, 32, 68, 65, 84, + 65, 83, 69, 84, 32, 115, 116, 114, 117, 99, 116, 32, 82, 101, 108, 97, + 116, 105, 111, 110, 123, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, + 32, 115, 117, 98, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, + 101, 116, 32, 115, 117, 98, 95, 99, 97, 116, 95, 105, 100, 59, 68, 83, + 76, 95, 79, 102, 102, 115, 101, 116, 32, 115, 117, 98, 95, 100, 101, + 99, 111, 109, 112, 95, 99, 97, 116, 95, 105, 100, 59, 68, 83, 76, 95, + 79, 102, 102, 115, 101, 116, 32, 115, 117, 112, 95, 105, 100, 59, 68, + 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 115, 117, 112, 95, 99, 97, + 116, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, + 115, 117, 112, 95, 100, 101, 99, 111, 109, 112, 95, 99, 97, 116, 95, + 105, 100, 59, 101, 110, 117, 109, 32, 82, 101, 108, 75, 105, 110, 100, + 123, 86, 66, 84, 95, 82, 69, 76, 75, 73, 78, 68, 95, 83, 85, 66, 83, + 69, 84, 61, 48, 44, 86, 66, 84, 95, 82, 69, 76, 75, 73, 78, 68, 95, 83, + 85, 80, 83, 69, 84, 61, 49, 44, 86, 66, 84, 95, 82, 69, 76, 75, 73, 78, + 68, 95, 66, 79, 85, 78, 68, 61, 50, 44, 86, 66, 84, 95, 82, 69, 76, 75, + 73, 78, 68, 95, 80, 69, 82, 77, 85, 84, 69, 61, 51, 44, 86, 66, 84, 95, + 82, 69, 76, 75, 73, 78, 68, 95, 78, 69, 73, 71, 72, 66, 79, 82, 61, 52, + 44, 86, 66, 84, 95, 82, 69, 76, 75, 73, 78, 68, 95, 67, 79, 80, 89, 61, + 53, 44, 86, 66, 84, 95, 82, 69, 76, 75, 73, 78, 68, 95, 69, 81, 85, 65, + 76, 61, 54, 44, 86, 66, 84, 95, 82, 69, 76, 75, 73, 78, 68, 95, 65, 78, + 89, 61, 45, 49, 44, 86, 66, 84, 95, 82, 69, 76, 75, 73, 78, 68, 95, 73, + 78, 86, 65, 76, 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 82, 69, 76, 75, + 73, 78, 68, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, 82, 69, 76, 75, + 73, 78, 68, 95, 85, 78, 75, 78, 79, 87, 78, 61, 45, 52, 125, 107, 105, + 110, 100, 59, 101, 110, 117, 109, 32, 82, 101, 108, 82, 101, 112, 123, + 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 73, 68, 69, 78, 84, 73, 84, + 89, 61, 48, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 72, 76, 73, + 83, 84, 61, 49, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 84, 76, + 73, 83, 84, 61, 50, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 84, + 76, 73, 83, 84, 95, 49, 61, 51, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, + 80, 95, 69, 76, 73, 83, 84, 61, 52, 44, 86, 66, 84, 95, 82, 69, 76, 82, + 69, 80, 95, 83, 84, 82, 85, 67, 84, 85, 82, 69, 68, 61, 53, 44, 86, 66, + 84, 95, 82, 69, 76, 82, 69, 80, 95, 85, 78, 83, 84, 82, 85, 67, 84, 85, + 82, 69, 68, 61, 54, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 65, + 82, 66, 73, 84, 82, 65, 82, 89, 95, 82, 61, 55, 44, 86, 66, 84, 95, 82, + 69, 76, 82, 69, 80, 95, 65, 82, 66, 73, 84, 82, 65, 82, 89, 95, 68, 82, + 61, 56, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 65, 78, 89, 61, + 45, 49, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 73, 78, 86, 65, + 76, 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, + 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, 82, 69, 76, 82, 69, 80, 95, 85, + 78, 75, 78, 79, 87, 78, 61, 45, 52, 125, 114, 101, 112, 95, 116, 121, + 112, 101, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 100, 95, + 98, 108, 111, 98, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, + 101, 116, 32, 114, 95, 98, 108, 111, 98, 95, 105, 100, 59, 68, 83, 76, + 95, 79, 102, 102, 115, 101, 116, 32, 98, 97, 115, 101, 95, 105, 100, + 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 110, 117, 109, 95, + 114, 101, 99, 115, 59, 125, 59, 10, 47, 70, 105, 101, 108, 100, 84, + 109, 112, 108, 32, 68, 65, 84, 65, 83, 69, 84, 32, 115, 116, 114, 117, + 99, 116, 32, 70, 105, 101, 108, 100, 84, 109, 112, 108, 123, 99, 104, + 97, 114, 32, 110, 97, 109, 101, 91, 54, 52, 93, 59, 68, 83, 76, 95, 79, + 102, 102, 115, 101, 116, 32, 98, 97, 115, 101, 95, 115, 112, 97, 99, + 101, 95, 105, 100, 59, 101, 110, 117, 109, 32, 65, 108, 103, 101, 98, + 114, 97, 105, 99, 84, 121, 112, 101, 123, 86, 66, 84, 95, 65, 76, 71, + 69, 66, 82, 65, 73, 67, 95, 84, 89, 80, 69, 95, 67, 79, 78, 83, 84, 65, + 78, 84, 61, 48, 44, 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, 65, 73, 67, + 95, 84, 89, 80, 69, 95, 67, 79, 77, 80, 79, 78, 69, 78, 84, 61, 49, 44, + 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, 65, 73, 67, 95, 84, 89, 80, 69, + 95, 83, 67, 65, 76, 65, 82, 61, 50, 44, 86, 66, 84, 95, 65, 76, 71, 69, + 66, 82, 65, 73, 67, 95, 84, 89, 80, 69, 95, 86, 69, 67, 84, 79, 82, 61, + 51, 44, 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, 65, 73, 67, 95, 84, 89, + 80, 69, 95, 84, 69, 78, 83, 79, 82, 61, 52, 44, 86, 66, 84, 95, 65, 76, + 71, 69, 66, 82, 65, 73, 67, 95, 84, 89, 80, 69, 95, 83, 89, 77, 95, 84, + 69, 78, 83, 79, 82, 61, 53, 44, 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, + 65, 73, 67, 95, 84, 89, 80, 69, 95, 70, 73, 69, 76, 68, 61, 54, 44, 86, + 66, 84, 95, 65, 76, 71, 69, 66, 82, 65, 73, 67, 95, 84, 89, 80, 69, 95, + 83, 84, 65, 84, 69, 61, 55, 44, 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, + 65, 73, 67, 95, 84, 89, 80, 69, 95, 84, 85, 80, 76, 69, 61, 56, 44, 86, + 66, 84, 95, 65, 76, 71, 69, 66, 82, 65, 73, 67, 95, 84, 89, 80, 69, 95, + 65, 78, 89, 61, 45, 49, 44, 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, 65, + 73, 67, 95, 84, 89, 80, 69, 95, 73, 78, 86, 65, 76, 73, 68, 61, 45, 50, + 44, 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, 65, 73, 67, 95, 84, 89, 80, + 69, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, 65, 76, 71, 69, 66, 82, + 65, 73, 67, 95, 84, 89, 80, 69, 95, 85, 78, 75, 78, 79, 87, 78, 61, 45, + 52, 125, 97, 108, 103, 95, 116, 121, 112, 101, 59, 101, 110, 117, 109, + 32, 66, 97, 115, 105, 115, 84, 121, 112, 101, 123, 86, 66, 84, 95, 66, + 65, 83, 73, 83, 95, 84, 89, 80, 69, 95, 85, 78, 73, 84, 89, 61, 48, 44, + 86, 66, 84, 95, 66, 65, 83, 73, 83, 95, 84, 89, 80, 69, 95, 67, 65, 82, + 84, 69, 83, 73, 65, 78, 61, 49, 44, 86, 66, 84, 95, 66, 65, 83, 73, 83, + 95, 84, 89, 80, 69, 95, 83, 80, 72, 69, 82, 73, 67, 65, 76, 61, 50, 44, + 86, 66, 84, 95, 66, 65, 83, 73, 83, 95, 84, 89, 80, 69, 95, 67, 89, 76, + 73, 78, 68, 82, 73, 67, 65, 76, 61, 51, 44, 86, 66, 84, 95, 66, 65, 83, + 73, 83, 95, 84, 89, 80, 69, 95, 85, 80, 80, 69, 82, 95, 84, 82, 73, 61, + 52, 44, 86, 66, 84, 95, 66, 65, 83, 73, 83, 95, 84, 89, 80, 69, 95, 70, + 79, 85, 82, 73, 69, 82, 61, 53, 44, 86, 66, 84, 95, 66, 65, 83, 73, 83, + 95, 84, 89, 80, 69, 95, 86, 65, 82, 73, 65, 66, 76, 69, 61, 54, 44, 86, + 66, 84, 95, 66, 65, 83, 73, 83, 95, 84, 89, 80, 69, 95, 65, 78, 89, 61, + 45, 49, 44, 86, 66, 84, 95, 66, 65, 83, 73, 83, 95, 84, 89, 80, 69, 95, + 73, 78, 86, 65, 76, 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 66, 65, 83, + 73, 83, 95, 84, 89, 80, 69, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, + 66, 65, 83, 73, 83, 95, 84, 89, 80, 69, 95, 85, 78, 75, 78, 79, 87, 78, + 61, 45, 52, 125, 98, 97, 115, 105, 115, 59, 68, 83, 76, 95, 79, 102, + 102, 115, 101, 116, 32, 113, 117, 97, 110, 116, 105, 116, 121, 95, 105, + 100, 59, 105, 110, 116, 32, 110, 117, 109, 95, 99, 111, 109, 112, 115, + 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 102, 116, 109, + 112, 108, 95, 105, 100, 115, 95, 98, 108, 111, 98, 95, 105, 100, 59, + 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 98, 97, 115, 101, 95, + 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 110, + 117, 109, 95, 114, 101, 99, 115, 59, 125, 59, 10, 47, 70, 105, 101, + 108, 100, 32, 68, 65, 84, 65, 83, 69, 84, 32, 115, 116, 114, 117, 99, + 116, 32, 70, 105, 101, 108, 100, 123, 68, 83, 76, 95, 79, 102, 102, + 115, 101, 116, 32, 102, 116, 109, 112, 108, 95, 105, 100, 59, 99, 104, + 97, 114, 32, 110, 97, 109, 101, 91, 54, 52, 93, 59, 68, 83, 76, 95, 79, + 102, 102, 115, 101, 116, 32, 117, 110, 105, 116, 115, 95, 105, 100, 59, + 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 115, 116, 111, 114, + 97, 103, 101, 95, 100, 101, 99, 111, 109, 112, 95, 99, 97, 116, 95, + 105, 100, 59, 101, 110, 117, 109, 32, 73, 110, 116, 101, 114, 108, 101, + 97, 118, 101, 123, 86, 66, 84, 95, 73, 78, 84, 69, 82, 76, 69, 65, 86, + 69, 95, 67, 79, 77, 80, 79, 78, 69, 78, 84, 61, 48, 44, 86, 66, 84, 95, + 73, 78, 84, 69, 82, 76, 69, 65, 86, 69, 95, 86, 69, 67, 84, 79, 82, 61, + 49, 44, 86, 66, 84, 95, 73, 78, 84, 69, 82, 76, 69, 65, 86, 69, 95, 73, + 78, 68, 69, 80, 69, 78, 68, 69, 78, 84, 61, 50, 44, 86, 66, 84, 95, 73, + 78, 84, 69, 82, 76, 69, 65, 86, 69, 95, 78, 79, 78, 69, 61, 51, 44, 86, + 66, 84, 95, 73, 78, 84, 69, 82, 76, 69, 65, 86, 69, 95, 65, 78, 89, 61, + 45, 49, 44, 86, 66, 84, 95, 73, 78, 84, 69, 82, 76, 69, 65, 86, 69, 95, + 73, 78, 86, 65, 76, 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 73, 78, 84, + 69, 82, 76, 69, 65, 86, 69, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, + 73, 78, 84, 69, 82, 76, 69, 65, 86, 69, 95, 85, 78, 75, 78, 79, 87, 78, + 61, 45, 52, 125, 99, 111, 109, 112, 95, 105, 110, 116, 108, 118, 59, + 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 105, 110, 100, 101, + 120, 105, 110, 103, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, + 115, 101, 116, 32, 100, 111, 102, 95, 97, 115, 115, 111, 99, 95, 99, + 97, 116, 95, 105, 100, 59, 105, 110, 116, 32, 97, 115, 115, 111, 99, + 95, 114, 97, 116, 105, 111, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, + 116, 32, 101, 118, 97, 108, 95, 100, 101, 99, 111, 109, 112, 95, 99, + 97, 116, 95, 105, 100, 59, 101, 110, 117, 109, 32, 69, 118, 97, 108, + 70, 117, 110, 99, 123, 86, 66, 84, 95, 69, 86, 65, 76, 95, 70, 85, 78, + 67, 95, 67, 79, 78, 83, 84, 65, 78, 84, 61, 48, 44, 86, 66, 84, 95, 69, + 86, 65, 76, 95, 70, 85, 78, 67, 95, 85, 78, 73, 70, 79, 82, 77, 61, 49, + 44, 86, 66, 84, 95, 69, 86, 65, 76, 95, 70, 85, 78, 67, 95, 80, 87, 67, + 79, 78, 83, 84, 61, 50, 44, 86, 66, 84, 95, 69, 86, 65, 76, 95, 70, 85, + 78, 67, 95, 80, 87, 76, 73, 78, 69, 65, 82, 61, 51, 44, 86, 66, 84, 95, + 69, 86, 65, 76, 95, 70, 85, 78, 67, 95, 65, 78, 89, 61, 45, 49, 44, 86, + 66, 84, 95, 69, 86, 65, 76, 95, 70, 85, 78, 67, 95, 73, 78, 86, 65, 76, + 73, 68, 61, 45, 50, 44, 86, 66, 84, 95, 69, 86, 65, 76, 95, 70, 85, 78, + 67, 95, 78, 65, 61, 45, 51, 44, 86, 66, 84, 95, 69, 86, 65, 76, 95, 70, + 85, 78, 67, 95, 85, 78, 75, 78, 79, 87, 78, 61, 45, 52, 125, 101, 118, + 97, 108, 95, 102, 117, 110, 99, 59, 105, 110, 116, 32, 105, 115, 95, + 104, 111, 109, 111, 103, 101, 110, 101, 111, 117, 115, 59, 105, 110, + 116, 32, 105, 115, 95, 99, 111, 111, 114, 100, 95, 102, 105, 101, 108, + 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 99, 111, 109, + 112, 95, 105, 100, 115, 95, 98, 108, 111, 98, 95, 105, 100, 59, 68, 83, + 76, 95, 79, 102, 102, 115, 101, 116, 32, 99, 111, 109, 112, 95, 111, + 114, 100, 101, 114, 95, 98, 108, 111, 98, 95, 105, 100, 59, 68, 83, 76, + 95, 79, 102, 102, 115, 101, 116, 32, 118, 98, 97, 115, 105, 115, 95, + 98, 108, 111, 98, 95, 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, + 101, 116, 32, 100, 111, 102, 95, 98, 108, 111, 98, 95, 105, 100, 59, + 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 98, 97, 115, 101, 95, + 105, 100, 59, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, 32, 110, + 117, 109, 95, 114, 101, 99, 115, 59, 125, 59, 10, 47, 109, 101, 116, + 97, 98, 108, 111, 98, 48, 48, 48, 48, 48, 46, 105, 110, 100, 101, 120, + 32, 68, 65, 84, 65, 83, 69, 84, 32, 115, 116, 114, 117, 99, 116, 32, + 73, 110, 100, 101, 120, 80, 97, 105, 114, 123, 68, 83, 76, 95, 79, 102, + 102, 115, 101, 116, 32, 105, 110, 100, 101, 120, 59, 105, 110, 116, 32, + 108, 101, 110, 103, 116, 104, 59, 125, 59, 10, 47, 109, 101, 116, 97, + 98, 108, 111, 98, 48, 48, 48, 48, 48, 46, 98, 108, 111, 98, 32, 68, 65, + 84, 65, 83, 69, 84, 32, 68, 83, 76, 95, 79, 102, 102, 115, 101, 116, + 59, 10 +/.attributes Group +/.attributes/database Group +/.attributes/database/.SAF_DbProps Dataset {1} + Data: + {-604320037, ".", "don't import", 1, {0, 0, 0, "none"}, {0, 1, 0, + "devel"}, {1, 3, 0, ""}, {0, 0, 0, "none"}, {1, 2, 1, ""}, {1, 2, 0, + ""}, 1, 0, 1, 0} +/Blob Dataset {24/Inf} + Data: + {-1, 1, 0, 1, 9, 0, 1}, {-1, 2, 0, 1, 4, 1, 1}, {-1, 3, 0, 1, 7, 2, + 1}, {-1, 4, 0, 1, 4, 3, 1}, {-1, 5, 0, 1, 5, 4, 1}, + {-1, 6, 0, 1, 3, 5, 1}, {-1, 7, 0, 1, 4, 6, 1}, {-1, 8, 0, 1, 1, 7, + 1}, {-1, 9, 0, 1, 10, 8, 1}, {-1, 10, 0, 1, 4, 9, 1}, + {-1, 11, 0, 1, 3, 10, 1}, {-1, 12, 0, 1, 5, 11, 1}, + {-1, 13, 0, 1, 5, 12, 1}, {-1, 14, 0, 1, 16, 13, 1}, + {-1, 15, 0, 1, 9, 14, 1}, {-1, 16, 0, 1, 4, 15, 1}, + {-1, 17, 0, 1, 16, 16, 1}, {-1, 18, 0, 1, 36, 17, 1}, + {-1, 19, 0, 1, 5, 18, 1}, {-1, 20, 0, 1, 5, 19, 1}, + {-1, 21, 0, 1, 36, 20, 1}, {-1, 22, 0, 1, 12, 21, 1}, + {-1, 23, 0, 1, 7, 22, 1}, {-1, 24, 0, 1, 2, 23, 1} +/Cat Dataset {5/Inf} + Data: + {"nodes", TOPO, 0, 0, 1}, {"elems", TOPO, 2, 1, 1}, + {"edges", USERD, 1, 2, 1}, {"blocks", BLOCK, 2, 3, 1}, + {"side_sets", USERD, 1, 4, 1} +/Collection Dataset {24/Inf} + Data: + {0, 0, POINT, 18, 0, 0, -2, 0, 1}, {0, 1, MIXED, 12, 1, 1, -2, 1, 1}, + {0, 3, NONE, 4, 2, 1, 0, 2, 1}, {0, 4, NONE, 2, 3, 0, 1, 3, 1}, + {1, 0, POINT, 9, 4, 0, -2, 4, 1}, {1, 1, QUAD, 4, 5, 1, -2, 5, 1}, + {1, 3, NONE, 1, 6, 1, 2, 6, 1}, {2, 0, POINT, 7, 7, 0, -2, 7, 1}, + {2, 1, MIXED, 4, 8, 1, -2, 8, 1}, {2, 3, NONE, 2, 9, 1, 3, 9, 1}, + {3, 0, POINT, 10, 10, 0, -2, 10, 1}, {3, 1, QUAD, 4, 11, 1, -2, 11, + 1}, {3, 3, NONE, 1, 12, 1, 4, 12, 1}, + {4, 0, POINT, 3, 13, 0, -2, 13, 1}, {4, 2, LINE, 2, 14, 1, -2, 14, 1}, + {5, 0, POINT, 5, 15, 0, -2, 15, 1}, {5, 2, LINE, 4, 16, 1, -2, 16, 1}, + {6, 0, POINT, 5, 17, 1, -2, 17, 1}, {7, 0, POINT, 5, 18, 0, -2, 18, + 1}, {7, 1, TRI, 3, 19, 1, -2, 19, 1}, {7, 3, NONE, 1, 20, 1, 5, 20, + 1}, {8, 0, POINT, 4, 21, 0, -2, 21, 1}, + {8, 1, QUAD, 1, 22, 1, -2, 22, 1}, {8, 3, NONE, 1, 23, 1, 6, 23, 1} +/Field Dataset {14/Inf} + Data: + {1, "X", -7, -2, NONE, -2, 0, 1, 0, PWLINEAR, 1, 0, -2, -2, -2, -2, + 0, 1}, + {1, "Y", -7, -2, NONE, -2, 0, 1, 0, PWLINEAR, 1, 0, -2, -2, -2, -2, + 1, 1}, + {0, "coords", -7, -2, VECTOR, -2, 0, 1, 0, PWLINEAR, 1, 1, 7, -2, -2, + 17, 2, 1}, + {2, "distribution factors", -5, -2, NONE, -2, 0, 1, 0, PWLINEAR, 1, + 0, -2, -2, -2, 18, 3, 1}, + {3, "temperature", -7, -2, NONE, -2, 0, 1, 0, PWLINEAR, 1, 0, -2, -2, + -2, 19, 4, 1}, + {1, "dX", -7, -2, NONE, -2, 0, 1, 0, PWLINEAR, 1, 0, -2, -2, -2, -2, + 5, 1}, + {1, "dY", -7, -2, NONE, -2, 0, 1, 0, PWLINEAR, 1, 0, -2, -2, -2, -2, + 6, 1}, + {0, "displacements", -7, -2, VECTOR, -2, 0, 1, 0, PWLINEAR, 1, 0, 8, + -2, -2, 20, 7, 1}, + {5, "Sx", -7, -2, NONE, -2, 1, 1, 1, PWCONST, 1, 0, -2, -2, -2, -2, + 8, 1}, + {5, "Sy", -7, -2, NONE, -2, 1, 1, 1, PWCONST, 1, 0, -2, -2, -2, -2, + 9, 1}, + {5, "Sxy", -7, -2, NONE, -2, 1, 1, 1, PWCONST, 1, 0, -2, -2, -2, -2, + 10, 1}, + {4, "stress", -7, -2, VECTOR, -2, 1, 1, 1, PWCONST, 1, 0, 9, -2, -2, + 21, 11, 1}, + {6, "temperature", -7, -2, NONE, -2, 0, 1, 0, PWLINEAR, 1, 0, -2, -2, + -2, 22, 12, 1}, + {7, "pressure", -7, -2, NONE, -2, 2, 1, 2, PWCONST, 1, 0, -2, -2, -2, + 23, 13, 1} +/FieldTmpl Dataset {8/Inf} + Data: + {"coordinate_tmpl", 0, VECTOR, CARTESIAN, 2, 2, 0, 0, 1}, + {"coordinate_tmpl_component", 0, SCALAR, CARTESIAN, 2, 1, 0, 1, 1}, + {"distrib_factors_tmpl", 5, SCALAR, UNITY, -5, 1, 0, 2, 1}, + {"temp_on_ns1_tmpl", 6, SCALAR, UNITY, 0, 1, 0, 3, 1}, + {"stress_on_cell_1_tmpl", 1, SYM_TENSOR, UPPER_TRI, 0, 3, 0, 4, 1}, + {"stress_on_cell_1_tmpl_component", 1, SCALAR, UPPER_TRI, 0, 1, 0, 5, + 1}, {"temp_on_cell_2_tmpl", 2, SCALAR, UNITY, 1, 1, 0, 6, 1}, + {"pressure_on_ss1", 4, SCALAR, UNITY, 0, 1, 0, 7, 1} +/IndexSpec Dataset {24/Inf} + Data: + {1, {[0,0,0,0,0,0,0,0]}, {[18,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 0, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[12,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 1, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[4,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 2, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[2,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 3, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[9,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 4, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[4,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 5, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[1,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 6, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[7,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 7, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[4,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 8, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[2,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 9, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[10,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 10, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[4,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 11, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[1,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 12, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[3,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 13, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[2,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 14, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[5,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 15, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[4,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 16, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[5,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 17, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[5,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 18, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[3,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 19, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[1,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 20, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[4,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 21, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[1,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 22, 1}, + {1, {[0,0,0,0,0,0,0,0]}, {[1,0,0,0,0,0,0,0]}, {[0,0,0,0,0,0,0,0]}, + C_ORDER, 23, 1} +/Relation Dataset {21/Inf} + Data: + {1, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 0, 0, 1}, + {1, 1, -2, 0, 1, -2, EQUAL, TLIST, -2, 1, 1, 1}, + {2, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 2, 2, 1}, + {2, 1, -2, 0, 1, -2, EQUAL, TLIST, -2, 3, 3, 1}, + {7, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 4, 4, 1}, + {7, 1, -2, 0, 1, -2, EQUAL, TLIST, -2, 5, 5, 1}, + {8, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 6, 6, 1}, + {8, 1, -2, 0, 1, -2, EQUAL, TLIST, -2, 7, 7, 1}, + {3, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 8, 8, 1}, + {3, 1, -2, 0, 1, -2, EQUAL, TLIST, -2, 9, 9, 1}, + {4, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 10, 10, 1}, + {5, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 11, 11, 1}, + {6, 0, -2, 0, 0, -2, EQUAL, TLIST, -2, 12, 12, 1}, + {1, 3, -2, 0, 3, -2, EQUAL, TLIST, -2, -2, 13, 1}, + {7, 3, -2, 0, 3, -2, EQUAL, TLIST, -2, -2, 14, 1}, + {8, 3, -2, 0, 3, -2, EQUAL, TLIST, -2, -2, 15, 1}, + {3, 3, -2, 0, 3, -2, EQUAL, TLIST, -2, -2, 16, 1}, + {1, 1, -2, 0, 0, -2, SUBSET, UNSTRUCTURED, -2, 13, 17, 1}, + {7, 1, -2, 0, 0, -2, SUBSET, UNSTRUCTURED, -2, 14, 18, 1}, + {8, 1, -2, 0, 0, -2, SUBSET, UNSTRUCTURED, -2, 15, 19, 1}, + {3, 1, -2, 0, 0, -2, SUBSET, UNSTRUCTURED, -2, 16, 20, 1} +/Set Dataset {9/Inf} + Data: + {0, "TOP_CELL", 2, SPACE, {[0,1,-2,2,3,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2]}, 1, 0, -2, -2, 0, 1}, + {0, "CELL_1", 2, SPACE, {[4,5,-2,6,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2]}, 0, 0, -2, -2, 1, 1}, + {0, "CELL_2", 2, SPACE, {[7,8,-2,9,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2]}, 0, 0, -2, -2, 2, 1}, + {0, "CELL_3", 2, SPACE, {[10,11,-2,12,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2,-2]}, 0, 0, -2, -2, 3, 1}, + {0, "SIDE_SET_1", 1, SPACE, {[13,-2,14,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2,-2,-2]}, 0, 0, -2, -2, 4, 1}, + {0, "SIDE_SET_2", 1, SPACE, {[15,-2,16,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2,-2,-2]}, 0, 0, -2, -2, 5, 1}, + {0, "NODE_SET_1", 0, SPACE, {[17,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2,-2,-2]}, 0, 0, -2, -2, 6, 1}, + {0, "CELL_2_TRIS", 2, SPACE, {[18,19,-2,20,-2,-2,-2,-2,-2,-2,-2,-2,-2, + -2,-2,-2]}, 0, 0, -2, -2, 7, 1}, + {0, "CELL_2_QUADS", 2, SPACE, {[21,22,-2,23,-2,-2,-2,-2,-2,-2,-2,-2, + -2,-2,-2,-2]}, 0, 0, -2, -2, 8, 1} +/field-coords_0002 Dataset {36} + Data: + 0, 4, 1, 4, 2, 4, 2.5, 4, 0, 3, 1, 3, 2, 3, 2.5, 3, 0, 2, 1, 2, 2, 2, + 2.5, 2, 0, 1, 2, 1, 2.5, 1, 0, 0, 2, 0, 2.5, 0 +/field-displacements_0007 Dataset {36} + Data: + 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, + 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, + 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25 +/field-distribution_factors_0003 Dataset {5} + Data: + 4, 3, 2, 1, 0 +/field-pressure_0013 Dataset {2} + Data: + 45, 55 +/field-stress_0011 Dataset {12} + Data: + 0.5, 0.25, 0.5, 0.5, 0.25, 0.5, 0.5, 0.25, 0.5, 0.5, 0.25, 0.5 +/field-temperature_0004 Dataset {5} + Data: + 100, 150, 150, 100, 75 +/field-temperature_0012 Dataset {7} + Data: + 75, 95, 120, 80, 115, 85, 110 +/metablob00000.blob Dataset {19/Inf} + Data: + 1, 7, 8, 3, -2, -2, -2, -2, -2, -2, -2, -2, 0, 1, 5, 6, 8, 9, 10 +/metablob00000.index Dataset {10/Inf} + Data: + {0, 4}, {4, 2}, {6, 1}, {7, 2}, {9, 1}, {10, 1}, {11, 1}, {12, 2}, + {14, 2}, {16, 3} +/ssrel-_0000 Dataset {9} + Data: + 1, 2, 3, 5, 6, 7, 9, 10, 11 +/ssrel-_0001 Dataset {4} + Data: + 1, 2, 4, 5 +/ssrel-_0002 Dataset {7} + Data: + 9, 10, 11, 13, 14, 16, 17 +/ssrel-_0003 Dataset {4} + Data: + 7, 8, 9, 11 +/ssrel-_0004 Dataset {5} + Data: + 9, 10, 11, 13, 14 +/ssrel-_0005 Dataset {3} + Data: + 7, 8, 9 +/ssrel-_0006 Dataset {4} + Data: + 13, 14, 16, 17 +/ssrel-_0007 Dataset {1} + Data: + 11 +/ssrel-_0008 Dataset {10} + Data: + 3, 4, 7, 8, 11, 12, 14, 15, 17, 18 +/ssrel-_0009 Dataset {4} + Data: + 3, 6, 10, 12 +/ssrel-_0010 Dataset {3} + Data: + 9, 10, 11 +/ssrel-_0011 Dataset {5} + Data: + 1, 5, 9, 13, 16 +/ssrel-_0012 Dataset {5} + Data: + 4, 8, 12, 15, 18 +/toporel-_0017 Dataset {16} + Data: + 1, 2, 6, 5, 2, 3, 7, 6, 5, 6, 10, 9, 6, 7, 11, 10 +/toporel-_0018 Dataset {9} + Data: + 9, 10, 13, 10, 14, 13, 10, 11, 14 +/toporel-_0019 Dataset {4} + Data: + 13, 14, 17, 16 +/toporel-_0020 Dataset {16} + Data: + 3, 4, 8, 7, 7, 8, 12, 11, 11, 12, 15, 14, 14, 15, 18, 17 diff --git a/tools/test/h5ls/expected/tslink-1.ls b/tools/test/h5ls/expected/tslink-1.ls new file mode 100644 index 0000000..7afc8a5 --- /dev/null +++ b/tools/test/h5ls/expected/tslink-1.ls @@ -0,0 +1,3 @@ +/ Group +/slink1 Soft Link {somevalue} +/slink2 Soft Link {linkvalue} diff --git a/tools/test/h5ls/expected/tsoftlinks-1.ls b/tools/test/h5ls/expected/tsoftlinks-1.ls new file mode 100644 index 0000000..d7d98a3 --- /dev/null +++ b/tools/test/h5ls/expected/tsoftlinks-1.ls @@ -0,0 +1,10 @@ +dset1 Dataset {4, 2} +dset2 Dataset {4, 2} +dtype Type +group1 Group +group_empty Group +soft_dangle Soft Link {not_yet} {**NOT FOUND**} +soft_dset1 Soft Link {/dset1} {Dataset {4, 2}} +soft_dtype Soft Link {/dtype} {Type} +soft_empty_grp Soft Link {/group_empty} {Group} +soft_group1 Soft Link {/group1} {Group} diff --git a/tools/test/h5ls/expected/tsoftlinks-2.ls b/tools/test/h5ls/expected/tsoftlinks-2.ls new file mode 100644 index 0000000..52c5265 --- /dev/null +++ b/tools/test/h5ls/expected/tsoftlinks-2.ls @@ -0,0 +1,21 @@ +/ Group +/dset1 Dataset {4, 2} +/dset2 Dataset {4, 2} +/dtype Type +/group1 Group +/group1/soft_dangle Soft Link {not_yet} {**NOT FOUND**} +/group1/soft_dset1 Soft Link {/dset1} {Dataset {4, 2}} +/group1/soft_dset2 Soft Link {/dset2} {Dataset {4, 2}} +/group1/soft_dtype Soft Link {/dtype} {Type} +/group1/soft_empty_grp Soft Link {/group_empty} {Group} +/group_empty Group +/soft_dangle Soft Link {not_yet} {Already Visited} +/soft_dset1 Soft Link {/dset1} {Already Visited} +/soft_dtype Soft Link {/dtype} {Already Visited} +/soft_empty_grp Soft Link {/group_empty} {Already Visited} +/soft_group1 Soft Link {/group1} {Group} +/soft_group1/soft_dangle Soft Link {not_yet} {Already Visited} +/soft_group1/soft_dset1 Soft Link {/dset1} {Already Visited} +/soft_group1/soft_dset2 Soft Link {/dset2} {Already Visited} +/soft_group1/soft_dtype Soft Link {/dtype} {Already Visited} +/soft_group1/soft_empty_grp Soft Link {/group_empty} {Already Visited} diff --git a/tools/test/h5ls/expected/tsoftlinks-3.ls b/tools/test/h5ls/expected/tsoftlinks-3.ls new file mode 100644 index 0000000..6b958ac --- /dev/null +++ b/tools/test/h5ls/expected/tsoftlinks-3.ls @@ -0,0 +1,5 @@ +soft_dangle Soft Link {not_yet} {**NOT FOUND**} +soft_dset1 Soft Link {/dset1} {Dataset {4, 2}} +soft_dset2 Soft Link {/dset2} {Dataset {4, 2}} +soft_dtype Soft Link {/dtype} {Type} +soft_empty_grp Soft Link {/group_empty} {Group} diff --git a/tools/test/h5ls/expected/tsoftlinks-4.ls b/tools/test/h5ls/expected/tsoftlinks-4.ls new file mode 100644 index 0000000..092d8a5 --- /dev/null +++ b/tools/test/h5ls/expected/tsoftlinks-4.ls @@ -0,0 +1,5 @@ +/soft_dangle Soft Link {not_yet} {**NOT FOUND**} +/soft_dset1 Soft Link {/dset1} {Dataset {4, 2}} +/soft_dset2 Soft Link {/dset2} {Dataset {4, 2}} +/soft_dtype Soft Link {/dtype} {Type} +/soft_empty_grp Soft Link {/group_empty} {Group} diff --git a/tools/test/h5ls/expected/tsoftlinks-5.ls b/tools/test/h5ls/expected/tsoftlinks-5.ls new file mode 100644 index 0000000..cc1f130 --- /dev/null +++ b/tools/test/h5ls/expected/tsoftlinks-5.ls @@ -0,0 +1 @@ +soft_dset1 Soft Link {/dset1} {Dataset {4, 2}} diff --git a/tools/test/h5ls/expected/tsoftlinks-nodangle-1.ls b/tools/test/h5ls/expected/tsoftlinks-nodangle-1.ls new file mode 100644 index 0000000..d7d98a3 --- /dev/null +++ b/tools/test/h5ls/expected/tsoftlinks-nodangle-1.ls @@ -0,0 +1,10 @@ +dset1 Dataset {4, 2} +dset2 Dataset {4, 2} +dtype Type +group1 Group +group_empty Group +soft_dangle Soft Link {not_yet} {**NOT FOUND**} +soft_dset1 Soft Link {/dset1} {Dataset {4, 2}} +soft_dtype Soft Link {/dtype} {Type} +soft_empty_grp Soft Link {/group_empty} {Group} +soft_group1 Soft Link {/group1} {Group} diff --git a/tools/test/h5ls/expected/tstr-1.ls b/tools/test/h5ls/expected/tstr-1.ls new file mode 100644 index 0000000..5c68d1a --- /dev/null +++ b/tools/test/h5ls/expected/tstr-1.ls @@ -0,0 +1,230 @@ +/ Group +/comp1 Dataset {3, 6} + Data: + {[0,1,4,9,16,25,36,49,64,81,1,4,9,16,25,36,49,64,81,100,4,9,16,25,36, + 49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81, + 100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49,64,81,100, + 121,144,169,196,225,49,64,81,100,121,144,169,196,225,256], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[1,4,9,16,25,36,49,64,81,100,4,9,16,25,36,49,64,81,100,121,9,16,25, + 36,49,64,81,100,121,144,16,25,36,49,64,81,100,121,144,169,25,36,49,64, + 81,100,121,144,169,196,36,49,64,81,100,121,144,169,196,225,49,64,81, + 100,121,144,169,196,225,256,64,81,100,121,144,169,196,225,256,289], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[4,9,16,25,36,49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25, + 36,49,64,81,100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49, + 64,81,100,121,144,169,196,225,49,64,81,100,121,144,169,196,225,256,64, + 81,100,121,144,169,196,225,256,289,81,100,121,144,169,196,225,256,289, + 324], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81,100,121,144,169, + 25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144,169,196, + 225,49,64,81,100,121,144,169,196,225,256,64,81,100,121,144,169,196, + 225,256,289,81,100,121,144,169,196,225,256,289,324,100,121,144,169, + 196,225,256,289,324,361], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[16,25,36,49,64,81,100,121,144,169,25,36,49,64,81,100,121,144,169, + 196,36,49,64,81,100,121,144,169,196,225,49,64,81,100,121,144,169,196, + 225,256,64,81,100,121,144,169,196,225,256,289,81,100,121,144,169,196, + 225,256,289,324,100,121,144,169,196,225,256,289,324,361,121,144,169, + 196,225,256,289,324,361,400], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144,169,196, + 225,49,64,81,100,121,144,169,196,225,256,64,81,100,121,144,169,196, + 225,256,289,81,100,121,144,169,196,225,256,289,324,100,121,144,169, + 196,225,256,289,324,361,121,144,169,196,225,256,289,324,361,400,144, + 169,196,225,256,289,324,361,400,441], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[0,1,4,9,16,25,36,49,64,81,1,4,9,16,25,36,49,64,81,100,4,9,16,25,36, + 49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81, + 100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49,64,81,100, + 121,144,169,196,225,49,64,81,100,121,144,169,196,225,256], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[1,4,9,16,25,36,49,64,81,100,4,9,16,25,36,49,64,81,100,121,9,16,25, + 36,49,64,81,100,121,144,16,25,36,49,64,81,100,121,144,169,25,36,49,64, + 81,100,121,144,169,196,36,49,64,81,100,121,144,169,196,225,49,64,81, + 100,121,144,169,196,225,256,64,81,100,121,144,169,196,225,256,289], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[4,9,16,25,36,49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25, + 36,49,64,81,100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49, + 64,81,100,121,144,169,196,225,49,64,81,100,121,144,169,196,225,256,64, + 81,100,121,144,169,196,225,256,289,81,100,121,144,169,196,225,256,289, + 324], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81,100,121,144,169, + 25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144,169,196, + 225,49,64,81,100,121,144,169,196,225,256,64,81,100,121,144,169,196, + 225,256,289,81,100,121,144,169,196,225,256,289,324,100,121,144,169, + 196,225,256,289,324,361], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[16,25,36,49,64,81,100,121,144,169,25,36,49,64,81,100,121,144,169, + 196,36,49,64,81,100,121,144,169,196,225,49,64,81,100,121,144,169,196, + 225,256,64,81,100,121,144,169,196,225,256,289,81,100,121,144,169,196, + 225,256,289,324,100,121,144,169,196,225,256,289,324,361,121,144,169, + 196,225,256,289,324,361,400], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144,169,196, + 225,49,64,81,100,121,144,169,196,225,256,64,81,100,121,144,169,196, + 225,256,289,81,100,121,144,169,196,225,256,289,324,100,121,144,169, + 196,225,256,289,324,361,121,144,169,196,225,256,289,324,361,400,144, + 169,196,225,256,289,324,361,400,441], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[0,1,4,9,16,25,36,49,64,81,1,4,9,16,25,36,49,64,81,100,4,9,16,25,36, + 49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81, + 100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49,64,81,100, + 121,144,169,196,225,49,64,81,100,121,144,169,196,225,256], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[1,4,9,16,25,36,49,64,81,100,4,9,16,25,36,49,64,81,100,121,9,16,25, + 36,49,64,81,100,121,144,16,25,36,49,64,81,100,121,144,169,25,36,49,64, + 81,100,121,144,169,196,36,49,64,81,100,121,144,169,196,225,49,64,81, + 100,121,144,169,196,225,256,64,81,100,121,144,169,196,225,256,289], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[4,9,16,25,36,49,64,81,100,121,9,16,25,36,49,64,81,100,121,144,16,25, + 36,49,64,81,100,121,144,169,25,36,49,64,81,100,121,144,169,196,36,49, + 64,81,100,121,144,169,196,225,49,64,81,100,121,144,169,196,225,256,64, + 81,100,121,144,169,196,225,256,289,81,100,121,144,169,196,225,256,289, + 324], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[9,16,25,36,49,64,81,100,121,144,16,25,36,49,64,81,100,121,144,169, + 25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144,169,196, + 225,49,64,81,100,121,144,169,196,225,256,64,81,100,121,144,169,196, + 225,256,289,81,100,121,144,169,196,225,256,289,324,100,121,144,169, + 196,225,256,289,324,361], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[16,25,36,49,64,81,100,121,144,169,25,36,49,64,81,100,121,144,169, + 196,36,49,64,81,100,121,144,169,196,225,49,64,81,100,121,144,169,196, + 225,256,64,81,100,121,144,169,196,225,256,289,81,100,121,144,169,196, + 225,256,289,324,100,121,144,169,196,225,256,289,324,361,121,144,169, + 196,225,256,289,324,361,400], ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]}, + {[25,36,49,64,81,100,121,144,169,196,36,49,64,81,100,121,144,169,196, + 225,49,64,81,100,121,144,169,196,225,256,64,81,100,121,144,169,196, + 225,256,289,81,100,121,144,169,196,225,256,289,324,100,121,144,169, + 196,225,256,289,324,361,121,144,169,196,225,256,289,324,361,400,144, + 169,196,225,256,289,324,361,400,441], + ["abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678","abcdefgh12345678abcdefgh12345678", + "abcdefgh12345678abcdefgh12345678"]} +/string1 Dataset {3, 4} + Data: + "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s0", "s1", "s2" +/string2 Dataset {20} + Data: + "ab cd ef1 ", "ab cd ef2 ", "ab cd ef3 ", "ab cd ef4 ", + "ab cd ef5 ", "ab cd ef6 ", "ab cd ef7 ", "ab cd ef8 ", + "ab cd ef9 ", "ab cd ef0 ", "ab cd ef1 ", "ab cd ef2 ", + "ab cd ef3 ", "ab cd ef4 ", "ab cd ef5 ", "ab cd ef6 ", + "ab cd ef7 ", "ab cd ef8 ", "ab cd ef9 ", "ab cd ef0 " +/string3 Dataset {27} + Data: + "abcd0\000\000\000", "abcd1\000\000\000", "abcd2\000\000\000", + "abcd3\000\000\000", "abcd4\000\000\000", "abcd5\000\000\000", + "abcd6\000\000\000", "abcd7\000\000\000", "abcd8\000\000\000", + "abcd9\000\000\000", "abcd0\000\000\000", "abcd1\000\000\000", + "abcd2\000\000\000", "abcd3\000\000\000", "abcd4\000\000\000", + "abcd5\000\000\000", "abcd6\000\000\000", "abcd7\000\000\000", + "abcd8\000\000\000", "abcd9\000\000\000", "abcd0\000\000\000", + "abcd1\000\000\000", "abcd2\000\000\000", "abcd3\000\000\000", + "abcd4\000\000\000", "abcd5\000\000\000", "abcd6\000\000\000" +/string4 Dataset {3} + Data: + "s1234567890123456789" ' ' repeats 147 times, + "s1234567890123456789" ' ' repeats 147 times, + "s1234567890123456789" ' ' repeats 147 times diff --git a/tools/test/h5ls/expected/tudfilter.ls b/tools/test/h5ls/expected/tudfilter.ls new file mode 100644 index 0000000..1db5fcf --- /dev/null +++ b/tools/test/h5ls/expected/tudfilter.ls @@ -0,0 +1,15 @@ +dynlibud Dataset {20, 10} + Data: + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199 diff --git a/tools/test/h5ls/expected/tudlink-1.ls b/tools/test/h5ls/expected/tudlink-1.ls new file mode 100644 index 0000000..487e4bc --- /dev/null +++ b/tools/test/h5ls/expected/tudlink-1.ls @@ -0,0 +1,3 @@ +/ Group +/udlink1 UD Link {cannot follow UD links} +/udlink2 UD Link {cannot follow UD links} diff --git a/tools/test/h5ls/expected/tvldtypes1.ls b/tools/test/h5ls/expected/tvldtypes1.ls new file mode 100644 index 0000000..804459e --- /dev/null +++ b/tools/test/h5ls/expected/tvldtypes1.ls @@ -0,0 +1,11 @@ +/ Group +/Dataset1.0 Dataset {4} + Data: + (0), (10,11), (20,21,22), (30,31,32,33) +/Dataset2.0 Dataset {4} + Data: + (0), (10,10.1), (20,20.1,20.2), (30,30.1,30.2,30.3) +/Dataset3.0 Dataset {SCALAR} + Data: + (0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46, + 48,50,52,54,56,58,60,62,64,66,68,70,72) diff --git a/tools/test/h5ls/expected/tvldtypes2be.ls b/tools/test/h5ls/expected/tvldtypes2be.ls new file mode 100644 index 0000000..2f7def3 --- /dev/null +++ b/tools/test/h5ls/expected/tvldtypes2be.ls @@ -0,0 +1,19 @@ +Opened "tvldtypes1.h5" with sec2 driver. +Dataset1.0 Dataset {4/4} + Location: 1:976 + Links: 1 + Storage: information not available + Type: variable length of + 32-bit little-endian integer +Dataset2.0 Dataset {4/4} + Location: 1:1576 + Links: 1 + Storage: information not available + Type: variable length of + IEEE 32-bit little-endian float +Dataset3.0 Dataset {SCALAR} + Location: 1:6272 + Links: 1 + Storage: information not available + Type: variable length of + 32-bit little-endian integer diff --git a/tools/test/h5ls/expected/tvldtypes2le.ls b/tools/test/h5ls/expected/tvldtypes2le.ls new file mode 100644 index 0000000..f99ad18 --- /dev/null +++ b/tools/test/h5ls/expected/tvldtypes2le.ls @@ -0,0 +1,19 @@ +Opened "tvldtypes1.h5" with sec2 driver. +Dataset1.0 Dataset {4/4} + Location: 1:976 + Links: 1 + Storage: information not available + Type: variable length of + native int +Dataset2.0 Dataset {4/4} + Location: 1:1576 + Links: 1 + Storage: information not available + Type: variable length of + native float +Dataset3.0 Dataset {SCALAR} + Location: 1:6272 + Links: 1 + Storage: information not available + Type: variable length of + native int diff --git a/tools/test/h5ls/expected/vds/tvds-1.ls b/tools/test/h5ls/expected/vds/tvds-1.ls new file mode 100644 index 0000000..61c9e46 --- /dev/null +++ b/tools/test/h5ls/expected/vds/tvds-1.ls @@ -0,0 +1,14 @@ +Opened "1_vds.h5" with sec2 driver. +vds_dset Dataset {5/Inf, 18/18, 8/8} + Location: 1:800 + Links: 1 + Maps: {6} Source { + 1_a.h5 /source_dset + 1_b.h5 /source_dset + 1_c.h5 /source_dset + 1_d.h5 /source_dset + 1_e.h5 /source_dset + 1_f.h5 /source_dset + } + Storage: 2880 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer diff --git a/tools/test/h5ls/expected/vds/tvds-2.ls b/tools/test/h5ls/expected/vds/tvds-2.ls new file mode 100644 index 0000000..49fe05f --- /dev/null +++ b/tools/test/h5ls/expected/vds/tvds-2.ls @@ -0,0 +1,13 @@ +Opened "2_vds.h5" with sec2 driver. +vds_dset Dataset {6/Inf, 8/8, 14/14} + Location: 1:800 + Links: 1 + Maps: {5} Source { + 2_a.h5 /source_dset + 2_b.h5 /source_dset + 2_c.h5 /source_dset + 2_d.h5 /source_dset + 2_e.h5 /source_dset + } + Storage: 2688 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer diff --git a/tools/test/h5ls/expected/vds/tvds-3_1.ls b/tools/test/h5ls/expected/vds/tvds-3_1.ls new file mode 100644 index 0000000..fe24002 --- /dev/null +++ b/tools/test/h5ls/expected/vds/tvds-3_1.ls @@ -0,0 +1,14 @@ +Opened "3_1_vds.h5" with sec2 driver. +vds_dset Dataset {5/Inf, 25/25, 8/8} + Location: 1:800 + Links: 1 + Maps: {6} Source { + 1_a.h5 /source_dset + 1_b.h5 /source_dset + 1_c.h5 /source_dset + 1_d.h5 /source_dset + 1_e.h5 /source_dset + 1_f.h5 /source_dset + } + Storage: 4000 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer diff --git a/tools/test/h5ls/expected/vds/tvds-3_2.ls b/tools/test/h5ls/expected/vds/tvds-3_2.ls new file mode 100644 index 0000000..a4ad84f --- /dev/null +++ b/tools/test/h5ls/expected/vds/tvds-3_2.ls @@ -0,0 +1,13 @@ +Opened "3_2_vds.h5" with sec2 driver. +vds_dset Dataset {6/Inf, 13/13, 19/19} + Location: 1:800 + Links: 1 + Maps: {5} Source { + 2_a.h5 /source_dset + 2_b.h5 /source_dset + 2_c.h5 /source_dset + 2_d.h5 /source_dset + 2_e.h5 /source_dset + } + Storage: 5928 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer diff --git a/tools/test/h5ls/expected/vds/tvds-4.ls b/tools/test/h5ls/expected/vds/tvds-4.ls new file mode 100644 index 0000000..176529b --- /dev/null +++ b/tools/test/h5ls/expected/vds/tvds-4.ls @@ -0,0 +1,9 @@ +Opened "4_vds.h5" with sec2 driver. +vds_dset Dataset {9/Inf, 4/4, 4/4} + Location: 1:800 + Links: 1 + Maps: {1} Source { + 4_%b.h5 /source_dset + } + Storage: 576 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer diff --git a/tools/test/h5ls/expected/vds/tvds-5.ls b/tools/test/h5ls/expected/vds/tvds-5.ls new file mode 100644 index 0000000..5f98e84 --- /dev/null +++ b/tools/test/h5ls/expected/vds/tvds-5.ls @@ -0,0 +1,11 @@ +Opened "5_vds.h5" with sec2 driver. +vds_dset Dataset {9/Inf, 4/4, 4/4} + Location: 1:800 + Links: 1 + Maps: {3} Source { + 5_a.h5 /source_dset + 5_b.h5 /source_dset + 5_c.h5 /source_dset + } + Storage: 576 logical bytes, 0 allocated bytes + Type: 32-bit little-endian integer diff --git a/tools/test/h5ls/h5ls_plugin.sh.in b/tools/test/h5ls/h5ls_plugin.sh.in index 02e0cf7..3408876 100644 --- a/tools/test/h5ls/h5ls_plugin.sh.in +++ b/tools/test/h5ls/h5ls_plugin.sh.in @@ -45,8 +45,9 @@ AWK='awk' SRC_TOOLS="$srcdir/../.." # testfiles source dirs for tools -SRC_TOOLS_TESTFILES="$SRC_TOOLS/testfiles" -SRC_H5LS_TESTFILES="$SRC_TOOLS_TESTFILES" +SRC_H5LS_TESTFILES="$SRC_TOOLS/test/h5ls/testfiles" +SRC_H5DUMP_TESTFILES="$SRC_TOOLS/test/h5dump/testfiles" +SRC_H5LS_OUTFILES="$SRC_TOOLS/test/h5ls/expected" TESTDIR=./testplug test -d $TESTDIR || mkdir $TESTDIR @@ -61,8 +62,8 @@ test -d $TESTDIR || mkdir $TESTDIR # Comment '#' without space can be used. # -------------------------------------------------------------------- LIST_HDF5_TEST_FILES=" -$SRC_TOOLS_TESTFILES/tudfilter.h5 -$SRC_TOOLS_TESTFILES/tudfilter.ls +$SRC_H5DUMP_TESTFILES/tudfilter.h5 +$SRC_H5LS_OUTFILES/tudfilter.ls " # RUNSERIAL is used. Check if it can return exit code from executable correctly. diff --git a/tools/test/h5ls/testfiles/tdset_idx.h5 b/tools/test/h5ls/testfiles/tdset_idx.h5 Binary files differnew file mode 100644 index 0000000..b31d5c3 --- /dev/null +++ b/tools/test/h5ls/testfiles/tdset_idx.h5 diff --git a/tools/test/h5ls/testh5ls.sh.in b/tools/test/h5ls/testh5ls.sh.in index 9b0e5cb..fc6daab 100644 --- a/tools/test/h5ls/testh5ls.sh.in +++ b/tools/test/h5ls/testh5ls.sh.in @@ -41,11 +41,10 @@ h5haveexitcode=yes # default is yes # source dirs SRC_TOOLS="$srcdir/../.." -SRC_TOOLS_TESTFILES="$SRC_TOOLS/testfiles" # testfiles source dirs for tools -SRC_H5LS_TESTFILES="$SRC_TOOLS_TESTFILES" -SRC_H5DUMP_TESTFILES="$SRC_TOOLS_TESTFILES" +SRC_H5LS_TESTFILES="$SRC_TOOLS/test/h5ls/testfiles" +SRC_H5DUMP_TESTFILES="$SRC_TOOLS/test/h5dump/testfiles" SRC_H5DIFF_TESTFILES="$SRC_TOOLS/test/h5diff/testfiles" SRC_H5COPY_TESTFILES="$SRC_TOOLS/test/h5copy/testfiles" SRC_H5REPACK_TESTFILES="$SRC_TOOLS/test/h5repack/testfiles" @@ -53,6 +52,7 @@ SRC_H5JAM_TESTFILES="$SRC_TOOLS/test/h5jam/testfiles" SRC_H5STAT_TESTFILES="$SRC_TOOLS/test/h5stat/testfiles" SRC_H5IMPORT_TESTFILES="$SRC_TOOLS/test/h5import/testfiles" SRC_H5LS_ERRFILES="$SRC_TOOLS/test/h5ls/errfiles" +SRC_H5LS_OUTFILES="$SRC_TOOLS/test/h5ls/expected" TESTDIR=./testfiles test -d $TESTDIR || mkdir $TESTDIR @@ -67,29 +67,29 @@ test -d $TESTDIR || mkdir $TESTDIR # Comment '#' without space can be used. # -------------------------------------------------------------------- LIST_HDF5_TEST_FILES=" -$SRC_H5LS_TESTFILES/tall.h5 -$SRC_H5LS_TESTFILES/tarray1.h5 -$SRC_H5LS_TESTFILES/tattr2.h5 -$SRC_H5LS_TESTFILES/tattrreg.h5 -$SRC_H5LS_TESTFILES/tcompound.h5 -$SRC_H5LS_TESTFILES/tdatareg.h5 -$SRC_H5LS_TESTFILES/tdset.h5 -$SRC_H5LS_TESTFILES/tempty.h5 -$SRC_H5LS_TESTFILES/textlink.h5 -$SRC_H5LS_TESTFILES/textlinksrc.h5 -$SRC_H5LS_TESTFILES/textlinktar.h5 -$SRC_H5LS_TESTFILES/tgroup.h5 -$SRC_H5LS_TESTFILES/tgrp_comments.h5 -$SRC_H5LS_TESTFILES/tgrpnullspace.h5 -$SRC_H5LS_TESTFILES/thlink.h5 -$SRC_H5LS_TESTFILES/tloop.h5 -$SRC_H5LS_TESTFILES/tnestedcomp.h5 -$SRC_H5LS_TESTFILES/tsaf.h5 -$SRC_H5LS_TESTFILES/tslink.h5 -$SRC_H5LS_TESTFILES/tsoftlinks.h5 -$SRC_H5LS_TESTFILES/tstr.h5 -$SRC_H5LS_TESTFILES/tudlink.h5 -$SRC_H5LS_TESTFILES/tvldtypes1.h5 +$SRC_H5DUMP_TESTFILES/tall.h5 +$SRC_H5DUMP_TESTFILES/tarray1.h5 +$SRC_H5DUMP_TESTFILES/tattr2.h5 +$SRC_H5DUMP_TESTFILES/tattrreg.h5 +$SRC_H5DUMP_TESTFILES/tcompound.h5 +$SRC_H5DUMP_TESTFILES/tdatareg.h5 +$SRC_H5DUMP_TESTFILES/tdset.h5 +$SRC_H5DUMP_TESTFILES/tempty.h5 +$SRC_H5DUMP_TESTFILES/textlink.h5 +$SRC_H5DUMP_TESTFILES/textlinksrc.h5 +$SRC_H5DUMP_TESTFILES/textlinktar.h5 +$SRC_H5DUMP_TESTFILES/tgroup.h5 +$SRC_H5DUMP_TESTFILES/tgrp_comments.h5 +$SRC_H5DUMP_TESTFILES/tgrpnullspace.h5 +$SRC_H5DUMP_TESTFILES/thlink.h5 +$SRC_H5DUMP_TESTFILES/tloop.h5 +$SRC_H5DUMP_TESTFILES/tnestedcomp.h5 +$SRC_H5DUMP_TESTFILES/tsaf.h5 +$SRC_H5DUMP_TESTFILES/tslink.h5 +$SRC_H5DUMP_TESTFILES/tsoftlinks.h5 +$SRC_H5DUMP_TESTFILES/tstr.h5 +$SRC_H5DUMP_TESTFILES/tudlink.h5 +$SRC_H5DUMP_TESTFILES/tvldtypes1.h5 $SRC_H5LS_TESTFILES/tdset_idx.h5 " @@ -100,64 +100,64 @@ $SRC_H5LS_ERRFILES/tgroup-1.err " LIST_OTHER_TEST_FILES=" -$SRC_H5LS_TESTFILES/help-1.ls -$SRC_H5LS_TESTFILES/help-2.ls -$SRC_H5LS_TESTFILES/help-3.ls -$SRC_H5LS_TESTFILES/nosuchfile.ls -$SRC_H5LS_TESTFILES/tall-1.ls -$SRC_H5LS_TESTFILES/tall-2.ls -$SRC_H5LS_TESTFILES/tarray1.ls -$SRC_H5LS_TESTFILES/tattr2.ls -$SRC_H5LS_TESTFILES/tattrreg_le.ls -$SRC_H5LS_TESTFILES/tattrreg_be.ls -$SRC_H5LS_TESTFILES/tcomp-1.ls -$SRC_H5LS_TESTFILES/tdataregbe.ls -$SRC_H5LS_TESTFILES/tdataregle.ls -$SRC_H5LS_TESTFILES/tdset-1.ls -$SRC_H5LS_TESTFILES/tempty.ls -$SRC_H5LS_TESTFILES/textlink-1.ls -$SRC_H5LS_TESTFILES/textlinksrc-1.ls -$SRC_H5LS_TESTFILES/textlinksrc-2.ls -$SRC_H5LS_TESTFILES/textlinksrc-3.ls -$SRC_H5LS_TESTFILES/textlinksrc-4.ls -$SRC_H5LS_TESTFILES/textlinksrc-5.ls -$SRC_H5LS_TESTFILES/textlinksrc-6.ls -$SRC_H5LS_TESTFILES/textlinksrc-7.ls -$SRC_H5LS_TESTFILES/textlinksrc-1-old.ls -$SRC_H5LS_TESTFILES/textlinksrc-2-old.ls -$SRC_H5LS_TESTFILES/textlinksrc-3-old.ls -$SRC_H5LS_TESTFILES/textlinksrc-6-old.ls -$SRC_H5LS_TESTFILES/textlinksrc-7-old.ls -$SRC_H5LS_TESTFILES/tsoftlinks-1.ls -$SRC_H5LS_TESTFILES/tsoftlinks-2.ls -$SRC_H5LS_TESTFILES/tsoftlinks-3.ls -$SRC_H5LS_TESTFILES/tsoftlinks-4.ls -$SRC_H5LS_TESTFILES/tsoftlinks-5.ls -$SRC_H5LS_TESTFILES/textlinksrc-nodangle-1.ls -$SRC_H5LS_TESTFILES/textlinksrc-nodangle-2.ls -$SRC_H5LS_TESTFILES/tgrp_comments.ls -$SRC_H5LS_TESTFILES/tsoftlinks-nodangle-1.ls -$SRC_H5LS_TESTFILES/thlinks-nodangle-1.ls -$SRC_H5LS_TESTFILES/tgroup.ls -$SRC_H5LS_TESTFILES/tgroup-1.ls -$SRC_H5LS_TESTFILES/tgroup-2.ls -$SRC_H5LS_TESTFILES/tgroup-3.ls -$SRC_H5LS_TESTFILES/tgrpnullspace.ls -$SRC_H5LS_TESTFILES/thlink-1.ls -$SRC_H5LS_TESTFILES/tloop-1.ls -$SRC_H5LS_TESTFILES/tmultifile.ls -$SRC_H5LS_TESTFILES/tnestcomp-1.ls -$SRC_H5LS_TESTFILES/tnestcomp-2.ls -$SRC_H5LS_TESTFILES/tnestcomp-3.ls -$SRC_H5LS_TESTFILES/tnestcomp-4.ls -$SRC_H5LS_TESTFILES/tsaf.ls -$SRC_H5LS_TESTFILES/tslink-1.ls -$SRC_H5LS_TESTFILES/tstr-1.ls -$SRC_H5LS_TESTFILES/tudlink-1.ls -$SRC_H5LS_TESTFILES/tvldtypes1.ls -$SRC_H5LS_TESTFILES/tvldtypes2le.ls -$SRC_H5LS_TESTFILES/tvldtypes2be.ls -$SRC_H5LS_TESTFILES/tdset_idx.ls +$SRC_H5LS_OUTFILES/help-1.ls +$SRC_H5LS_OUTFILES/help-2.ls +$SRC_H5LS_OUTFILES/help-3.ls +$SRC_H5LS_OUTFILES/nosuchfile.ls +$SRC_H5LS_OUTFILES/tall-1.ls +$SRC_H5LS_OUTFILES/tall-2.ls +$SRC_H5LS_OUTFILES/tarray1.ls +$SRC_H5LS_OUTFILES/tattr2.ls +$SRC_H5LS_OUTFILES/tattrreg_le.ls +$SRC_H5LS_OUTFILES/tattrreg_be.ls +$SRC_H5LS_OUTFILES/tcomp-1.ls +$SRC_H5LS_OUTFILES/tdataregbe.ls +$SRC_H5LS_OUTFILES/tdataregle.ls +$SRC_H5LS_OUTFILES/tdset-1.ls +$SRC_H5LS_OUTFILES/tempty.ls +$SRC_H5LS_OUTFILES/textlink-1.ls +$SRC_H5LS_OUTFILES/textlinksrc-1.ls +$SRC_H5LS_OUTFILES/textlinksrc-2.ls +$SRC_H5LS_OUTFILES/textlinksrc-3.ls +$SRC_H5LS_OUTFILES/textlinksrc-4.ls +$SRC_H5LS_OUTFILES/textlinksrc-5.ls +$SRC_H5LS_OUTFILES/textlinksrc-6.ls +$SRC_H5LS_OUTFILES/textlinksrc-7.ls +$SRC_H5LS_OUTFILES/textlinksrc-1-old.ls +$SRC_H5LS_OUTFILES/textlinksrc-2-old.ls +$SRC_H5LS_OUTFILES/textlinksrc-3-old.ls +$SRC_H5LS_OUTFILES/textlinksrc-6-old.ls +$SRC_H5LS_OUTFILES/textlinksrc-7-old.ls +$SRC_H5LS_OUTFILES/tsoftlinks-1.ls +$SRC_H5LS_OUTFILES/tsoftlinks-2.ls +$SRC_H5LS_OUTFILES/tsoftlinks-3.ls +$SRC_H5LS_OUTFILES/tsoftlinks-4.ls +$SRC_H5LS_OUTFILES/tsoftlinks-5.ls +$SRC_H5LS_OUTFILES/textlinksrc-nodangle-1.ls +$SRC_H5LS_OUTFILES/textlinksrc-nodangle-2.ls +$SRC_H5LS_OUTFILES/tgrp_comments.ls +$SRC_H5LS_OUTFILES/tsoftlinks-nodangle-1.ls +$SRC_H5LS_OUTFILES/thlinks-nodangle-1.ls +$SRC_H5LS_OUTFILES/tgroup.ls +$SRC_H5LS_OUTFILES/tgroup-1.ls +$SRC_H5LS_OUTFILES/tgroup-2.ls +$SRC_H5LS_OUTFILES/tgroup-3.ls +$SRC_H5LS_OUTFILES/tgrpnullspace.ls +$SRC_H5LS_OUTFILES/thlink-1.ls +$SRC_H5LS_OUTFILES/tloop-1.ls +$SRC_H5LS_OUTFILES/tmultifile.ls +$SRC_H5LS_OUTFILES/tnestcomp-1.ls +$SRC_H5LS_OUTFILES/tnestcomp-2.ls +$SRC_H5LS_OUTFILES/tnestcomp-3.ls +$SRC_H5LS_OUTFILES/tnestcomp-4.ls +$SRC_H5LS_OUTFILES/tsaf.ls +$SRC_H5LS_OUTFILES/tslink-1.ls +$SRC_H5LS_OUTFILES/tstr-1.ls +$SRC_H5LS_OUTFILES/tudlink-1.ls +$SRC_H5LS_OUTFILES/tvldtypes1.ls +$SRC_H5LS_OUTFILES/tvldtypes2le.ls +$SRC_H5LS_OUTFILES/tvldtypes2be.ls +$SRC_H5LS_OUTFILES/tdset_idx.ls " diff --git a/tools/test/h5ls/testh5lsvds.sh.in b/tools/test/h5ls/testh5lsvds.sh.in index beba73f..2408ee2 100644 --- a/tools/test/h5ls/testh5lsvds.sh.in +++ b/tools/test/h5ls/testh5lsvds.sh.in @@ -38,17 +38,17 @@ h5haveexitcode=yes # default is yes # source dirs SRC_TOOLS="$srcdir/../.." -SRC_TOOLS_TESTFILES="$SRC_TOOLS/testfiles" # testfiles source dirs for tools -SRC_H5LS_TESTFILES="$SRC_TOOLS_TESTFILES" -SRC_H5DUMP_TESTFILES="$SRC_TOOLS_TESTFILES" +SRC_H5LS_TESTFILES="$SRC_TOOLS/test/h5ls/testfiles" +SRC_H5DUMP_TESTFILES="$SRC_TOOLS/test/h5dump/testfiles" SRC_H5DIFF_TESTFILES="$SRC_TOOLS/test/h5diff/testfiles" SRC_H5COPY_TESTFILES="$SRC_TOOLS/test/h5copy/testfiles" SRC_H5REPACK_TESTFILES="$SRC_TOOLS/test/h5repack/testfiles" SRC_H5JAM_TESTFILES="$SRC_TOOLS/test/h5jam/testfiles" SRC_H5STAT_TESTFILES="$SRC_TOOLS/test/h5stat/testfiles" SRC_H5IMPORT_TESTFILES="$SRC_TOOLS/test/h5import/testfiles" +SRC_H5LS_OUTFILES="$SRC_TOOLS/test/h5ls/expected" TEST_P_DIR=./testfiles TESTDIR=./testfiles/vds @@ -65,38 +65,38 @@ test -d $TESTDIR || mkdir $TESTDIR # Comment '#' without space can be used. # -------------------------------------------------------------------- LIST_HDF5_TEST_FILES=" -$SRC_H5LS_TESTFILES/vds/1_a.h5 -$SRC_H5LS_TESTFILES/vds/1_b.h5 -$SRC_H5LS_TESTFILES/vds/1_c.h5 -$SRC_H5LS_TESTFILES/vds/1_d.h5 -$SRC_H5LS_TESTFILES/vds/1_e.h5 -$SRC_H5LS_TESTFILES/vds/1_f.h5 -$SRC_H5LS_TESTFILES/vds/1_vds.h5 -$SRC_H5LS_TESTFILES/vds/2_a.h5 -$SRC_H5LS_TESTFILES/vds/2_b.h5 -$SRC_H5LS_TESTFILES/vds/2_c.h5 -$SRC_H5LS_TESTFILES/vds/2_d.h5 -$SRC_H5LS_TESTFILES/vds/2_e.h5 -$SRC_H5LS_TESTFILES/vds/2_vds.h5 -$SRC_H5LS_TESTFILES/vds/3_1_vds.h5 -$SRC_H5LS_TESTFILES/vds/3_2_vds.h5 -$SRC_H5LS_TESTFILES/vds/4_0.h5 -$SRC_H5LS_TESTFILES/vds/4_1.h5 -$SRC_H5LS_TESTFILES/vds/4_2.h5 -$SRC_H5LS_TESTFILES/vds/4_vds.h5 -$SRC_H5LS_TESTFILES/vds/5_a.h5 -$SRC_H5LS_TESTFILES/vds/5_b.h5 -$SRC_H5LS_TESTFILES/vds/5_c.h5 -$SRC_H5LS_TESTFILES/vds/5_vds.h5 +$SRC_H5DUMP_TESTFILES/vds/1_a.h5 +$SRC_H5DUMP_TESTFILES/vds/1_b.h5 +$SRC_H5DUMP_TESTFILES/vds/1_c.h5 +$SRC_H5DUMP_TESTFILES/vds/1_d.h5 +$SRC_H5DUMP_TESTFILES/vds/1_e.h5 +$SRC_H5DUMP_TESTFILES/vds/1_f.h5 +$SRC_H5DUMP_TESTFILES/vds/1_vds.h5 +$SRC_H5DUMP_TESTFILES/vds/2_a.h5 +$SRC_H5DUMP_TESTFILES/vds/2_b.h5 +$SRC_H5DUMP_TESTFILES/vds/2_c.h5 +$SRC_H5DUMP_TESTFILES/vds/2_d.h5 +$SRC_H5DUMP_TESTFILES/vds/2_e.h5 +$SRC_H5DUMP_TESTFILES/vds/2_vds.h5 +$SRC_H5DUMP_TESTFILES/vds/3_1_vds.h5 +$SRC_H5DUMP_TESTFILES/vds/3_2_vds.h5 +$SRC_H5DUMP_TESTFILES/vds/4_0.h5 +$SRC_H5DUMP_TESTFILES/vds/4_1.h5 +$SRC_H5DUMP_TESTFILES/vds/4_2.h5 +$SRC_H5DUMP_TESTFILES/vds/4_vds.h5 +$SRC_H5DUMP_TESTFILES/vds/5_a.h5 +$SRC_H5DUMP_TESTFILES/vds/5_b.h5 +$SRC_H5DUMP_TESTFILES/vds/5_c.h5 +$SRC_H5DUMP_TESTFILES/vds/5_vds.h5 " LIST_OTHER_TEST_FILES=" -$SRC_H5LS_TESTFILES/vds/tvds-1.ls -$SRC_H5LS_TESTFILES/vds/tvds-2.ls -$SRC_H5LS_TESTFILES/vds/tvds-3_1.ls -$SRC_H5LS_TESTFILES/vds/tvds-3_2.ls -$SRC_H5LS_TESTFILES/vds/tvds-4.ls -$SRC_H5LS_TESTFILES/vds/tvds-5.ls +$SRC_H5LS_OUTFILES/vds/tvds-1.ls +$SRC_H5LS_OUTFILES/vds/tvds-2.ls +$SRC_H5LS_OUTFILES/vds/tvds-3_1.ls +$SRC_H5LS_OUTFILES/vds/tvds-3_2.ls +$SRC_H5LS_OUTFILES/vds/tvds-4.ls +$SRC_H5LS_OUTFILES/vds/tvds-5.ls " |