diff options
Diffstat (limited to 'vo/votools/tests/vodata_001.cl')
-rw-r--r-- | vo/votools/tests/vodata_001.cl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vo/votools/tests/vodata_001.cl b/vo/votools/tests/vodata_001.cl new file mode 100644 index 00000000..79beeb3b --- /dev/null +++ b/vo/votools/tests/vodata_001.cl @@ -0,0 +1,27 @@ +# +# VODATA task unit tests + +# Set the test description string. +votest.descr = "VODATA task unit tests" + +vodata.size = 0.05 +vodata.output = "STDOUT" + +delete ("/tmp/svcs.txt", verify-, >& "dev$null") +print ("hst\nchandra\ngsc2.3", > "/tmp/svcs.txt") +delete ("/tmp/pos.txt", verify-, >& "dev$null") +print ("m31\nm32\nm33\n", > "/tmp/pos.txt") + +printf ("Example 1)\n") +vodata ("gsc2.3", "ngc1234") +vodata ("gsc2.3", "@/tmp/pos.txt") +vodata ("gsc2.3", "m31,m51,m93") +vodata ("@/tmp/svcs.txt", "@/tmp/pos.txt") +vodata ("hst,chandra,gsc2.3", "@/tmp/pos.txt") +vodata ("2mass-psc", "dev$ypix") + +printf ("Example 2)\n") +vodata ("any", "IC10", type="image") + +printf ("Example 3)\n") +vodata ("any", "abell2712", type="image", bandpass="x-ray") |