From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- vo/votest/tests/namefail_001.cl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vo/votest/tests/namefail_001.cl (limited to 'vo/votest/tests/namefail_001.cl') diff --git a/vo/votest/tests/namefail_001.cl b/vo/votest/tests/namefail_001.cl new file mode 100644 index 00000000..556cd434 --- /dev/null +++ b/vo/votest/tests/namefail_001.cl @@ -0,0 +1,16 @@ +# +# Test for filename errors + +# Set the test description string. +votest.descr = "Test for invalid image URL" +votest.has_err = yes + +set cache = "/tmp/cache/" +fcache init + +iferr { + imstat ("http://iraf.noao.edu/votest/dbix.fits", >& "dev$null") +} then { + print ("error in test") +} +fcache list -- cgit