diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2008-01-10 16:48:52 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2008-01-10 16:48:52 (GMT) |
commit | 905ff444f4237c9d5d1923f3efe9234072450895 (patch) | |
tree | 0d9e655cdab674c7baa537565c02802ab47fdb6a | |
parent | e982a364fecc22652b73ef789f073bd6a617ec26 (diff) | |
download | hdf5-905ff444f4237c9d5d1923f3efe9234072450895.zip hdf5-905ff444f4237c9d5d1923f3efe9234072450895.tar.gz hdf5-905ff444f4237c9d5d1923f3efe9234072450895.tar.bz2 |
[svn-r14393] Changed the way that the file name string is represented.
Tested on smirom.
-rw-r--r-- | test/tcoords.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/tcoords.c b/test/tcoords.c index 57d2e1a..d741672 100644 --- a/test/tcoords.c +++ b/test/tcoords.c @@ -27,6 +27,8 @@ #include "testhdf5.h" +#define FILENAME "coord.h5" + /*********************************************************** ** ** test_single_end(): Test full hyperslab selection of only @@ -473,7 +475,7 @@ void test_coords(void) hid_t fid; herr_t ret; /* Generic error return */ - fid = H5Fcreate("coord.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(fid, FAIL, "H5Fcreate"); test_single_end(fid); @@ -501,5 +503,5 @@ void test_coords(void) void cleanup_coords(void) { - remove("coord.h5"); + remove(FILENAME); } |