From: Eric Bollengier Date: Fri, 23 Apr 2010 16:17:47 +0000 (+0200) Subject: regress: reproduce #1559 X-Git-Tag: Release-7.0.0~1883 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d493d31c0f2625d44f1b060762dcc369b71ef49;p=bacula%2Fbacula regress: reproduce #1559 --- diff --git a/regress/tests/fileregexp-test b/regress/tests/fileregexp-test index 28ce0693da..ca639ec745 100755 --- a/regress/tests/fileregexp-test +++ b/regress/tests/fileregexp-test @@ -33,6 +33,17 @@ wait messages @sleep 5 prune files yes +quit +END_OF_DATA + +run_bacula + +touch $cwd/build/po/* + +cat <${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