diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /vo/votest/tests/req_3.3.3.cl | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'vo/votest/tests/req_3.3.3.cl')
-rw-r--r-- | vo/votest/tests/req_3.3.3.cl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vo/votest/tests/req_3.3.3.cl b/vo/votest/tests/req_3.3.3.cl new file mode 100644 index 00000000..f3bf606a --- /dev/null +++ b/vo/votest/tests/req_3.3.3.cl @@ -0,0 +1,30 @@ +# +# Refer to a Resource by an 'anonymous' query. + +# Set the test description string. +votest.descr = "Refer to a Resource by an 'anonymous' query." + +print ("------------------------------------------------------------------") +print ("Req 3.3.3: Users shall be able to refer to a VO Resource by the") +print (" 'anonymous' result of a Registry query.") +print ("------------------------------------------------------------------") + +fcache init + + +# Execute the test commands. +print ("") +print ("Process requests for all x-ray resources in our personal database. ") +print ("") +print ("") + +# Search for the X-Ray resource. +regdb ("resolve", bandpass="x-ray") + +if (regdb.svctype == "I") { + getimg (regdb.alias, "dev$ypix", size=0.02) +} else if (regdb.svctype == "C") { + getcat (regdb.alias, "dev$ypix", size=0.02) +} else { + printf ("Unknown service type for '%s'\n", regdb.alias) +} |