Commit e75b54b8bf320ad2602c562f3a293c034a0fa050

Authored by Jürgen Knödlseder
1 parent e7c6efb2

Correct Python test script.

There was an extract blank following a \ character that led to a failure, but at the same time, the failure was not catched since the script checked the presence of a file that was generated in a test before. I renamed the file that is created to a unique name, and remov of coarse the extra space.
Showing 1 changed file with 3 additions and 3 deletions
test/test_cscripts.sh.in
... ... @@ -126,12 +126,12 @@ chmod +x @abs_top_srcdir@/cscripts/csiactobs.py
126 126 @abs_top_srcdir@/cscripts/csiactobs.py \
127 127 datapath="iactdata/" \
128 128 prodname="unit-test" \
129   - runlistfile="iactdata/runlist.txt" \
  129 + runlistfile="iactdata/runlist.txt" \
130 130 bkgpars="1" \
131   - outobs="obs.xml" \
  131 + outobs="obs2.xml" \
132 132 outmodel="bkgmodels.xml" > csiactobs.log
133 133 $ECHO -n "."
134   -if [ -s "obs.xml" ]
  134 +if [ -s "obs2.xml" ]
135 135 then
136 136 $ECHO -n "."
137 137 else
... ...