/usr/lib/eso-midas/17FEB/test/ESO/getESOtests is in eso-midas-testdata 17.02pl1.2-2build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | #!/bin/sh
#.COPYRIGHT: Copyright (c) 2009-2012 European Southern Observatory,
# all rights reserved
#
#.AUTHOR Klaus Banse
#
# 090428 creation
# 120229 last modif
#
# OJO: this script has to be updated (in 3 places) if the tarfile
# with the ESO verifications changes, currently (1.2.2012) it is
# ./12FEB/sources/ESO-verifications-1_4.tar.gz
# in the Midas dir. of ESO's ftp server
#
# this script gets ESO specific verification procedures and data
# consisting of:
# 1) plotting procedures of QC group (DMO - ESO Garching)
# 2) EFOSC echelle testing procedures of La Silla
#
# $./getESOtests x
# will only download the tarfile with the verification data and not install
#
# variable MIDASHOME should point to the /midas directory,
# i.e. above the actual Midas version
#
here=$(pwd)
#
# get the verification data from ESO's ftp server
# into current dir.
#
# sometimes the local ftp client and the ftp server at ESO's
# ftp.eso.org don't really work together
# then, use another ftp client, e.g. ncftp or lftp (without -n)
# => ncftp ftp.eso.org << END
#
ftp -n ftp.eso.org << END
user ftp ftp
cd midaspub
cd 12FEB/sources
get ESO-verifications-1_4.tar.gz
quit
END
if [ "$1" = "x" ]; then
echo "only downloaded demo_data.tar.gz"
exit
fi
# now, move to $MIDASHOME
if [ -z "$MIDASHOME" ]; then #check for zero length
echo MIDASHOME not defined...
echo enter location for ESO verifications, usually the home dir. of Midas
echo defaulted to "~/midas"
read answ
if [ -z "$answ" ]; then
direc="$HOME/midas"
else
direc="$answ"
fi
else
direc="$MIDASHOME"
fi
cd $direc
# untar the file to create dir. ESO-verifications
# with the subdirs. EFOSCtest/ and qcplot-DARK/
# and to fill these subdirectories with the verification data
echo "tar -zxvf $here/ESO-verifications-1_4.tar.gz "
tar -zxvf $here/ESO-verifications-1_4.tar.gz
echo " "
echo "all data stored in $(pwd)"
#
cd ESO-verifications
cat README
# come back
cd $here
|