FILES=`awk '/FD Files Written:/ { last=$4 } END { print last }' $LOG`
if [ "$NB" != "$FILES" ]; then
- print_debug "Expect $NB files, get $FILES"
+ print_debug "ERROR: Expect $NB files, get $FILES"
bstat=2
fi
}
run job=backup level=incremental yes
wait
messages
+list files jobid=4
@#
@# now do a restore
@#
grep -e ' 0 *|' ${cwd}/tmp/log3.out > /dev/null
if [ $? -ne 0 ]; then
- print_debug "Can't purge the base job"
+ print_debug "ERROR: Can't purge the base job"
estat=1
fi
grep "po/fr.po^" ${cwd}/tmp/log5.out > /dev/null
if [ $? -eq 0 ]; then
- print_debug "Should not display fr.po as basefile"
+ print_debug "ERROR: Should not display fr.po as basefile"
estat=2
fi