diff options
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) +} |