]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: fix error on vtape-big-test-changer
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 26 Apr 2010 19:50:29 +0000 (21:50 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:45 +0000 (16:53 +0200)
regress/tests/vtape-big-test-changer

index f95993d3342d34a786c52dae41ef5d859237b9aa..a56f321ef10903bb98d25a0361bd9607a0f3bf4d 100755 (executable)
@@ -152,7 +152,7 @@ check_two_logs
 check_restore_diff
 
 # get InChanger flag
-RES=`awk -F'|' '/vol20.+Full/ { print $11 }' ${cwd}/tmp/log3.out`
+RES=`awk -F'|' '/vol20 .+(Full|Append)/ { print $11 }' ${cwd}/tmp/log3.out`
 set $RES
 if [ $1 -eq $2 ]; then
     print_debug "ERROR: Error in update slots"