2
0
mirror of https://github.com/HDFGroup/hdf5.git synced 2025-04-12 17:31:09 +08:00

[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.

This commit is contained in:
Raymond Lu 2000-03-14 14:30:42 -05:00
parent d9ea9c0b32
commit 395da6090f
3 changed files with 9 additions and 8 deletions

@ -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

@ -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 */

@ -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