aboutsummaryrefslogtreecommitdiff
path: root/vo/votest/tests/req_4.3.cl
diff options
context:
space:
mode:
Diffstat (limited to 'vo/votest/tests/req_4.3.cl')
-rw-r--r--vo/votest/tests/req_4.3.cl22
1 files changed, 22 insertions, 0 deletions
diff --git a/vo/votest/tests/req_4.3.cl b/vo/votest/tests/req_4.3.cl
new file mode 100644
index 00000000..883f1897
--- /dev/null
+++ b/vo/votest/tests/req_4.3.cl
@@ -0,0 +1,22 @@
+#
+# ServiceURLs and resource names are interchangeable.
+
+# Set the test description string.
+votest.descr = "ServiceURLs and resource names are interchangeable."
+
+print ("------------------------------------------------------------------")
+print ("Req 4.3: Users shall be able to specify a base ServiceURL to")
+print (" data-access tasks expecting a Resource parameter.")
+print ("------------------------------------------------------------------")
+
+
+fcache init
+
+# Execute the test commands.
+
+# Get the base NED ServiceURL, use that to query a catalog service rather
+# than the name of the service.
+
+regdb ("resolve", "veron")
+getcat (regdb.url, field="3c273", size=0.005, output="STDOUT", format="raw")
+