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/namefail_003.cl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vo/votest/tests/namefail_003.cl (limited to 'vo/votest/tests/namefail_003.cl') diff --git a/vo/votest/tests/namefail_003.cl b/vo/votest/tests/namefail_003.cl new file mode 100644 index 00000000..67cb1107 --- /dev/null +++ b/vo/votest/tests/namefail_003.cl @@ -0,0 +1,16 @@ +# +# Test for filename errors + +# Set the test description string. +votest.descr = "Test for invalid file URL" +votest.has_err = yes + +set cache = "/tmp/cache/" +fcache init + +iferr { + type ("http://iraf.noao.edu/nosuchfile.html", >& "dev$null") +} then { + print ("error in test") +} +fcache list -- cgit