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/req_3.3.3.cl | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 vo/votest/tests/req_3.3.3.cl (limited to 'vo/votest/tests/req_3.3.3.cl') 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) +} -- cgit