From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- vo/votest/tests/votable_005.cl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vo/votest/tests/votable_005.cl (limited to 'vo/votest/tests/votable_005.cl') diff --git a/vo/votest/tests/votable_005.cl b/vo/votest/tests/votable_005.cl new file mode 100644 index 00000000..4925d8c0 --- /dev/null +++ b/vo/votest/tests/votable_005.cl @@ -0,0 +1,26 @@ +# +# Print VOTable column statistics + +# Set the test description string. +votest.descr = "TABLES support: Print VOTable column statistics" + +# Convert the data$logical to a local path. +s1 = data_url // "/usno-b.xml" +s2 = "file://" // data_path // "/usno-b.xml" +s3 = "file:///localhost" // data_path // "/usno-b.xml" + + +fcache init + +# Execute the test commands. +print ("\nLogical Path: data$usno-b.xml") # logical path +tstat ("data$usno-b.xml", "B1") + +print ("\nHTTP URI: " // s1) # remote http URI +tstat (s1, "B1") + +print ("\nFile URI: " // s2) # file URI +tstat (s2, "B1") + +print ("\nFile URI: " // s3) # file URI +tstat (s3, "B1") -- cgit