aboutsummaryrefslogtreecommitdiff
path: root/vo/votest/tests/namefail_002.cl
diff options
context:
space:
mode:
Diffstat (limited to 'vo/votest/tests/namefail_002.cl')
-rw-r--r--vo/votest/tests/namefail_002.cl16
1 files changed, 16 insertions, 0 deletions
diff --git a/vo/votest/tests/namefail_002.cl b/vo/votest/tests/namefail_002.cl
new file mode 100644
index 00000000..4ec60a19
--- /dev/null
+++ b/vo/votest/tests/namefail_002.cl
@@ -0,0 +1,16 @@
+#
+# Test for filename errors
+
+# Set the test description string.
+votest.descr = "Test for invalid table URL"
+votest.has_err = yes
+
+set cache = "/tmp/cache/"
+fcache init
+
+iferr {
+ tlcol ("http://iraf.noao.edu/votest/usno-z.xml", >& "dev$null")
+} then {
+ print ("error in test")
+}
+fcache list