diff options
Diffstat (limited to 'vo/votest/tests/votable_001.cl')
-rw-r--r-- | vo/votest/tests/votable_001.cl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vo/votest/tests/votable_001.cl b/vo/votest/tests/votable_001.cl new file mode 100644 index 00000000..f667ca28 --- /dev/null +++ b/vo/votest/tests/votable_001.cl @@ -0,0 +1,26 @@ +# +# Print VOTable information + +# Set the test description string. +votest.descr = "TABLES support: Print VOTable info" + +# 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 +tinfo ("data$usno-b.xml") + +print ("\nHTTP URI: " // s1) # remote http URI +tinfo (s1) + +print ("\nFile URI: " // s2) # file URI +tinfo (s2) + +print ("\nFile URI: " // s3) # file URI +tinfo (s3) |