From b5c8db9607d58a637031f5e14651bb39d9ba9b6c Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 3 Aug 2011 04:56:17 +0000 Subject: [PATCH] rename to test_csripts.sh.in --- test/test_cscripts.sh | 66 ------------------------------------------------------------------ 1 file changed, 0 insertions(+), 66 deletions(-) delete mode 100755 test/test_cscripts.sh diff --git a/test/test_cscripts.sh b/test/test_cscripts.sh deleted file mode 100755 index 6aa69bc..0000000 --- a/test/test_cscripts.sh +++ /dev/null @@ -1,66 +0,0 @@ -#! /bin/bash -# ========================================================================== -# This script tests all cscripts that are shipped with ctatools -# -# Copyright (C) 2011 Jurgen Knodlseder -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -# ========================================================================== - -# -# Print Header -# -echo "" -echo "*****************" -echo "* Test cscripts *" -echo "*****************" - - -# -# Remove any existing result files -# ================================ -rm -rf *.fits *.log *.xml *.dat - - -# -# Creates pfiles directory -# ======================== -mkdir -p pfiles -export PFILES=pfiles - - -# -# Test cssens -# =========== -echo -n "Test cssens: " -rm -rf cssens -ln -s ../scripts/cssens.py cssens -chmod +x ../scripts/cssens.py -cssens duration=3600.0 \ - caldb="irf" \ - irf="kb_E_50h_v3" \ - type="point" \ - offset="0.0" \ - bkg="data/bkg_kb_E_50h_v3.txt" \ - rad=5.0 -echo -n "." -if [ -s "sensitivity.dat" ] -then - echo -n "." -else - echo " sensitivity.dat file is not valid" - exit 1 -fi -echo " ok" -- libgit2 0.21.4