summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2000-03-13 19:35:41 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2000-03-13 19:35:41 (GMT)
commit1bc06c5e0b0c2e0324d53b241ffbb8234771d74c (patch)
treea7bfa750a82210072375c066765b5d058636c538 /test
parent20b9a126662a3938313d194ac105a1e527ad4fb5 (diff)
downloadhdf5-1bc06c5e0b0c2e0324d53b241ffbb8234771d74c.zip
hdf5-1bc06c5e0b0c2e0324d53b241ffbb8234771d74c.tar.gz
hdf5-1bc06c5e0b0c2e0324d53b241ffbb8234771d74c.tar.bz2
[svn-r2028] Switch to HTTP protocal testing for read, compress write and append testings.
Diffstat (limited to 'test')
-rw-r--r--test/gass_append.c10
-rw-r--r--test/gass_read.c3
-rw-r--r--test/gass_write.c12
3 files changed, 23 insertions, 2 deletions
diff --git a/test/gass_append.c b/test/gass_append.c
index 5cac7f9..96ac047 100644
--- a/test/gass_append.c
+++ b/test/gass_append.c
@@ -25,6 +25,8 @@ int main(void)
}
#else
+#ifdef hide
+
#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"
#define DATASETNAME "Int1Array"
#define NX 5 /* dataset dimensions */
@@ -145,4 +147,12 @@ int main (void)
return 0;
}
+
+#else
+int main(void)
+{
+ printf("Test skipped because GASS driver does not support append yet\n");
+ return 0;
+}
+#endif
#endif
diff --git a/test/gass_read.c b/test/gass_read.c
index 13cf951..fb9ee4b 100644
--- a/test/gass_read.c
+++ b/test/gass_read.c
@@ -26,7 +26,8 @@ int main(void)
}
#else
-#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"
+/*#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"*/
+#define URL "http://hdf/GLOBUS/a.h5"
/* #define DATASETNAME "Int1Array" */
#define NX_SUB 3 /* hyperslab dimensions */
diff --git a/test/gass_write.c b/test/gass_write.c
index dbc7287..52d49f2 100644
--- a/test/gass_write.c
+++ b/test/gass_write.c
@@ -25,6 +25,8 @@ int main(void)
}
#else
+#ifdef hide
+
#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"
#define DATASETNAME "IntArray"
@@ -153,5 +155,13 @@ int main (void)
H5Pclose(fapl);
return 0;
-}
+}
+
+#else
+int main(void)
+{
+ printf("Test skipped because GASS driver does not support writing yet\n");
+ return 0;
+}
+#endif
#endif