]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: minor changes to regress scripts
authorKern Sibbald <kern@sibbald.com>
Thu, 29 Jun 2017 19:31:20 +0000 (21:31 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 29 Jun 2017 19:31:20 +0000 (21:31 +0200)
regress/tests/console-dotcmd-test
regress/tests/maxtime-test

index aa831a9cb81250cd44eaa7771deab1ef0f30b711..83cb94853c9b402eedac058918a982c39d4774d5 100755 (executable)
@@ -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`
index 4c34864758173d64847ebd5a17de9b13b31d3ead..1e375e844f25778ee8204b8532b7bcc11bc42213 100755 (executable)
@@ -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