aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/testscripts/voatlas.sh
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /vendor/voclient/testscripts/voatlas.sh
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'vendor/voclient/testscripts/voatlas.sh')
-rw-r--r--vendor/voclient/testscripts/voatlas.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/voclient/testscripts/voatlas.sh b/vendor/voclient/testscripts/voatlas.sh
new file mode 100644
index 00000000..484d9181
--- /dev/null
+++ b/vendor/voclient/testscripts/voatlas.sh
@@ -0,0 +1,18 @@
+#vosamp quit
+vosamp status
+ps -u wyoung | grep Aladin > isrunning.Aladin
+count=`wc -l isrunning.Aladin | awk '{print $1}'`
+if [ $count -lt 2 ]; then
+ open /Applications/Aladin.app
+fi
+rm isrunning.Aladin
+ps -u wyoung | grep TOPCAT > isrunning.TOPCAT
+count=`wc -l isrunning.TOPCAT | awk '{print $1}'`
+if [ $count -lt 2 ]; then
+ open /Applications/TOPCAT.app
+fi
+rm isrunning.TOPCAT
+sleep 10
+echo
+voatlas --samp m13
+voatlas -R 12 -D 30 -s 1d