Skip to content

Commit

Permalink
Merge pull request #17 from byrnHDF/hdf5_1_10
Browse files Browse the repository at this point in the history
Hdf5 1 10
  • Loading branch information
lrknox authored Oct 5, 2020
2 parents 66f09dc + b799177 commit 0736dcb
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions java/test/TestH5E.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void testH5Eget_msg_major() {
fail("H5.H5Eget_msg(Throwable): " + err);
}
assertNotNull("H5.H5Eget_msg: " + msg, msg);
assertEquals("H5.H5Eget_msg: ", "Object atom", msg);
assertTrue("H5.H5Eget_msg: ", msg.contains("Object atom"));
assertEquals("H5.H5Eget_msg: ", HDF5Constants.H5E_MAJOR, error_msg_type[0]);
}
catch (Throwable err) {
Expand All @@ -121,7 +121,7 @@ public void testH5Eget_msg_minor() {
fail("H5.H5Eget_msg: " + err);
}
assertNotNull("H5.H5Eget_msg: " + msg, msg);
assertEquals("H5.H5Eget_msg: ", "Unable to find atom information (already closed?)", msg);
assertTrue("H5.H5Eget_msg: ", msg.contains("Unable to find atom information (already closed?)"));
assertEquals("H5.H5Eget_msg: ", HDF5Constants.H5E_MINOR, error_msg_type[0]);
}
catch (Throwable err) {
Expand Down
8 changes: 4 additions & 4 deletions tools/src/h5dump/h5dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ usage(const char *prog)
" <cred> :: \"(<aws-region>,<access-id>,<access-key>)\"\n");
PRINTVALSTREAM(rawoutstream,
" If absent or <cred> -> \"(,,)\", no authentication.\n");
PRINTVALSTREAM(rawoutstream, " Has no effect is filedriver is not `ros3'.\n");
PRINTVALSTREAM(rawoutstream, " Has no effect if filedriver is not \"ros3\".\n");
PRINTVALSTREAM(rawoutstream,
" --hdfs-attrs=<attrs> Supply configuration information for HDFS file access.\n");
PRINTVALSTREAM(rawoutstream, " For use with \"--filedriver=hdfs\"\n");
Expand Down Expand Up @@ -323,7 +323,7 @@ usage(const char *prog)
PRINTVALSTREAM(rawoutstream, " -X S, --xml-ns=S (XML Schema) Use qualified names n the XML\n");
PRINTVALSTREAM(rawoutstream, " \":\": no namespace, default: \"hdf5:\"\n");
PRINTVALSTREAM(rawoutstream,
" E.g., to dump a file called `-f', use h5dump -- -f\n");
" E.g., to dump a file called \"-f\", use h5dump -- -f\n");
PRINTVALSTREAM(rawoutstream, "\n");
PRINTVALSTREAM(rawoutstream, "--------------- Subsetting Options ---------------\n");
PRINTVALSTREAM(rawoutstream, " Subsetting is available by using the following options with a dataset\n");
Expand Down Expand Up @@ -1117,7 +1117,7 @@ parse_command_line(int argc, const char *argv[])

case 'M':
if (!last_was_dset) {
error_msg("option `-%c' can only be used after --dataset option\n", opt);
error_msg("option \"-%c\" can only be used after --dataset option\n", opt);
goto error;
}
if (parse_mask_list(opt_arg) != SUCCEED) {
Expand Down Expand Up @@ -1190,7 +1190,7 @@ parse_command_line(int argc, const char *argv[])
struct subset_t *s;

if (!last_was_dset) {
error_msg("option `-%c' can only be used after --dataset option\n", opt);
error_msg("option \"-%c\" can only be used after --dataset option\n", opt);
goto error;
}

Expand Down
6 changes: 3 additions & 3 deletions tools/src/misc/h5repart.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ usage(const char *progname)
"(windows or sec2)\n");
HDfprintf(stderr, " SRC The name of the source file\n");
HDfprintf(stderr, " DST The name of the destination files\n");
HDfprintf(stderr, "Sizes may be suffixed with `g' for GB, `m' for MB or "
"`k' for kB.\n");
HDfprintf(stderr, "Sizes may be suffixed with 'g' for GB, 'm' for MB or "
"'k' for kB.\n");
HDfprintf(stderr, "File family names include an integer printf "
"format such as `%%d'\n");
"format such as '%%d'\n");
HDexit(EXIT_FAILURE);
}

Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/h5dump-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/pbits/tnofilename-with-packed-bits.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/pbits/tpbitsIncomplete.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/pbits/tpbitsLengthExceeded.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/pbits/tpbitsLengthPositive.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/pbits/tpbitsMaxExceeded.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/pbits/tpbitsOffsetExceeded.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down
4 changes: 2 additions & 2 deletions tools/testfiles/pbits/tpbitsOffsetNegative.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage: h5dump [OPTIONS] files
--s3-cred=<cred> Supply S3 authentication information to "ros3" vfd.
<cred> :: "(<aws-region>,<access-id>,<access-key>)"
If absent or <cred> -> "(,,)", no authentication.
Has no effect is filedriver is not `ros3'.
Has no effect if filedriver is not "ros3".
--hdfs-attrs=<attrs> Supply configuration information for HDFS file access.
For use with "--filedriver=hdfs"
<attrs> :: (<namenode name>,<namenode port>,
Expand Down Expand Up @@ -67,7 +67,7 @@ usage: h5dump [OPTIONS] files
-D U, --xml-dtd=U Use the DTD or schema at U
-X S, --xml-ns=S (XML Schema) Use qualified names n the XML
":": no namespace, default: "hdf5:"
E.g., to dump a file called `-f', use h5dump -- -f
E.g., to dump a file called "-f", use h5dump -- -f

--------------- Subsetting Options ---------------
Subsetting is available by using the following options with a dataset
Expand Down

0 comments on commit 0736dcb

Please sign in to comment.