]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: reproduce #1559
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 23 Apr 2010 16:17:47 +0000 (18:17 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:44 +0000 (16:53 +0200)
regress/tests/fileregexp-test

index 28ce0693da60c2a03dbd003a1cb22899d7c871de..ca639ec7455a844e0aec752d320026160672ff5d 100755 (executable)
@@ -33,6 +33,17 @@ wait
 messages
 @sleep 5
 prune files yes
+quit
+END_OF_DATA
+
+run_bacula
+
+touch $cwd/build/po/*
+
+cat <<END_OF_DATA >${tmp}/bconcmds
+run job=$JobName yes
+wait
+messages
 @# 
 @# now do a restore
 @#
@@ -44,10 +55,10 @@ README
 yes
 wait
 messages
-quit
 END_OF_DATA
 
-run_bacula
+run_bconsole
+
 check_for_zombie_jobs storage=File
 stop_bacula
 
@@ -62,7 +73,7 @@ COUNT_README=`find ${tmp}/bacula-restores -type f | grep README | wc -l`
 
 if [ $COUNT_OTHER -gt 0 -o $COUNT_README -lt 11 ]; then
     print_debug "Found non matching files"
-    print debug "Count_other=$COUNT_OTHER count_readme=$COUNT_README"
+    print_debug "Count_other=$COUNT_OTHER count_readme=$COUNT_README"
     print_debug `find ${tmp}/bacula-restores -type f | grep -v README`
     rstat=2
 fi