summaryrefslogtreecommitdiffstats
path: root/test
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
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')
-rw-r--r--test/gass_append.c2
-rw-r--r--test/gass_read.c2
-rw-r--r--test/gass_write.c13
3 files changed, 9 insertions, 8 deletions
diff --git a/test/gass_append.c b/test/gass_append.c
index 96ac047..30ad6b0 100644
--- a/test/gass_append.c
+++ b/test/gass_append.c
@@ -151,7 +151,7 @@ int main (void)
#else
int main(void)
{
- printf("Test skipped because GASS driver does not support append yet\n");
+ printf("Test skipped because append depends on web server!\n");
return 0;
}
#endif
diff --git a/test/gass_read.c b/test/gass_read.c
index fb9ee4b..7b811c5 100644
--- a/test/gass_read.c
+++ b/test/gass_read.c
@@ -27,7 +27,7 @@ int main(void)
#else
/*#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"*/
-#define URL "http://hdf/GLOBUS/a.h5"
+#define URL "http://paz.ncsa.uiuc.edu:8080/test/a.h5"
/* #define DATASETNAME "Int1Array" */
#define NX_SUB 3 /* hyperslab dimensions */
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