summaryrefslogtreecommitdiffstats
path: root/test/gass_write.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2000-03-14 19:30:42 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2000-03-14 19:30:42 (GMT)
commit395da6090ffa53b971eba805c98abcc404957300 (patch)
tree1710ffb6dcf9978252a9527d4eaff55ad3f18601 /test/gass_write.c
parentd9ea9c0b32c67dbf8091b1fb350d44ccddb916c4 (diff)
downloadhdf5-395da6090ffa53b971eba805c98abcc404957300.zip
hdf5-395da6090ffa53b971eba805c98abcc404957300.tar.gz
hdf5-395da6090ffa53b971eba805c98abcc404957300.tar.bz2
[svn-r2034] Switch testing web server to paz.ncsa.uiuc.edu for gass_read; still comment out gass_write and gass_append because they depend on web server.
Diffstat (limited to 'test/gass_write.c')
-rw-r--r--test/gass_write.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/gass_write.c b/test/gass_write.c
index 52d49f2..a4cb44f 100644
--- a/test/gass_write.c
+++ b/test/gass_write.c
@@ -27,7 +27,8 @@ int main(void)
#ifdef hide
-#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"
+/*#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"*/
+#define URL "http://paz.ncsa.uiuc.edu:8080/test/put/test/b.h5"
#define DATASETNAME "IntArray"
#define NX 5 /* dataset dimensions */
@@ -83,12 +84,13 @@ int main (void)
* default file creation properties, and gass file
* access properties.
*/
+ /*
// file = H5Fcreate(URL, H5F_ACC_TRUNC, H5P_DEFAULT, fapl);
// Works. Truncates existing files.
// file = H5Fcreate(URL, H5F_ACC_EXCL, H5P_DEFAULT, fapl);
// Works. Croaks if existing file, else creates.
// Any other flag has no effect as long as one and exactly one of TRUNC/
- // EXCL is there
+ // EXCL is there */
/* printf ("I'm here just before H5Fcreate. \n");*/
file = H5Fcreate(URL, H5F_ACC_TRUNC, H5P_DEFAULT, fapl);
if (file < 0) {
@@ -156,12 +158,11 @@ int main (void)
return 0;
}
-
-#else
+#else
int main(void)
{
- printf("Test skipped because GASS driver does not support writing yet\n");
+ printf("Test skipped because writing depends on web server!\n");
return 0;
}
-#endif
+#endif
#endif