diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /vo/votest/tests/req_1.1.cl | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'vo/votest/tests/req_1.1.cl')
-rw-r--r-- | vo/votest/tests/req_1.1.cl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vo/votest/tests/req_1.1.cl b/vo/votest/tests/req_1.1.cl new file mode 100644 index 00000000..5e94ed7c --- /dev/null +++ b/vo/votest/tests/req_1.1.cl @@ -0,0 +1,34 @@ +# +# Access to <PARAM> and <INFO> table elements. + +# Set the test description string. +votest.descr = "Access to <PARAM> and <INFO> table elements" + +# 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" + +print ("------------------------------------------------------------------") +print ("Req 1.1: Users shall be able to access the <PARAM> and <INFO>") +print (" elements of a VOTable as standard table header information.") +print ("------------------------------------------------------------------") + + +fcache init + +# Execute the test commands. +print ("\nLogical Path: data$usno-b.xml") # logical path +thedit ("data$usno-b.xml", "parnam*,parval*,infnam*,infval*",".",del-,show+) + +print ("\nHTTP URI: " // s1) # remote http URI +thedit (s1, "parnam*,parval*,infnam*,infval*",".",del-,show+) + + +print ("\nFile URI: " // s2) # file URI +thedit (s2, "parnam*,parval*,infnam*,infval*",".",del-,show+) + + +print ("\nFile URI: " // s3) # file URI +thedit (s3, "parnam*,parval*,infnam*,infval*",".",del-,show+) + |