From: Kern Sibbald Date: Thu, 29 Jun 2017 19:31:20 +0000 (+0200) Subject: regress: minor changes to regress scripts X-Git-Tag: Release-9.0.0~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a7a52c8b63fb383ce7189cd5853cb2bdf06f292;p=bacula%2Fbacula regress: minor changes to regress scripts --- diff --git a/regress/tests/console-dotcmd-test b/regress/tests/console-dotcmd-test index aa831a9cb8..83cb94853c 100755 --- a/regress/tests/console-dotcmd-test +++ b/regress/tests/console-dotcmd-test @@ -106,9 +106,6 @@ if [ $? -ne 0 ]; then stat $tmp/logerr.done # I am not convinced that these timestamps will always be correct -- KES # estat=1 -else - stat $tmp/logsametime.done - stat $tmp/logerr.done fi nb=`grep test50-1-fd $tmp/log2.out $tmp/logerr2.out | wc -l` diff --git a/regress/tests/maxtime-test b/regress/tests/maxtime-test index 4c34864758..1e375e844f 100755 --- a/regress/tests/maxtime-test +++ b/regress/tests/maxtime-test @@ -92,7 +92,7 @@ then [ "$debug" = 1 ] && echo MAXSTARTDELAY ok else echo "MAXSTARTDELAY in error" - bstat=1 + bstat=2 fi grep -e '4: Fatal error: Max run time exceeded. Job canceled.' ${cwd}/tmp/RUN_MAXTIME.log >/dev/null @@ -103,7 +103,7 @@ else echo "MAXRUNTIME in error" echo "${cwd}/tmp/RUN_MAXTIME.log" cat ${cwd}/tmp/RUN_MAXTIME.log - bstat=1 + bstat=3 fi grep -e 'Termination: *Backup OK' ${cwd}/tmp/RUN_MAXTIME.log >/dev/null @@ -112,7 +112,7 @@ then [ "$debug" = 1 ] && echo MAXRUNTIME2 ok else echo "MAXRUNTIME2 in error" - bstat=1 + bstat=4 fi