diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /vo/votest/tests/namefail_003.cl | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'vo/votest/tests/namefail_003.cl')
-rw-r--r-- | vo/votest/tests/namefail_003.cl | 16 |
1 files changed, 16 insertions, 0 deletions
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 |