From 905ff444f4237c9d5d1923f3efe9234072450895 Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Thu, 10 Jan 2008 11:48:52 -0500 Subject: [svn-r14393] Changed the way that the file name string is represented. Tested on smirom. --- test/tcoords.c | 6 ++++-- 1 file 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); } -- cgit v0.12