]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/base-job-test
regress: add function to create many dirs
[bacula/bacula] / regress / tests / base-job-test
index 1882e66107cb4b1feef8cd2803689658ac517602..6eada768e14214ea605a3c4dc07c9f1d50253221 100755 (executable)
@@ -160,7 +160,7 @@ run_bconsole
 grep -e ' 0 *|' ${cwd}/tmp/log3.out > /dev/null
 if [ $? -ne 0 ]; then
     print_debug "Can't purge the base job"
-    dstat=2
+    estat=1
 fi
 
 
@@ -174,22 +174,22 @@ cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 run level=full job=backup yes
 wait
 messages
-@$out ${cwd}/tmp/log5.out
+@out ${cwd}/tmp/log5.out
 list basefiles jobid=6
-@$out ${cwd}/tmp/log6.out
+@out ${cwd}/tmp/log6.out
 list files jobid=6
 messages
 END_OF_DATA
 
 run_bconsole
 
-grep po/fr.po ${cwd}/tmp/log5.out > /dev/null
+grep "po/fr.po^" ${cwd}/tmp/log5.out > /dev/null
 if [ $? -eq 0 ]; then
     print_debug "Should not display fr.po as basefile"
-    bstat=2
+    estat=2
 fi
 
-export bstat dstat
+export bstat dstat estat
 
 stop_bacula
 end_test