X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fregexwhere-test;h=eaaa3fe6faf16e9986c0cc0545b269e78c99e774;hb=c0aaad2cbccdf8a49448666d2ba89ca4fe531ec9;hp=692bd60b3670e68199d04904710fc808baf0a10e;hpb=5aaea29875378ce6de2b530141124d1a892edc2a;p=bacula%2Fbacula diff --git a/regress/tests/regexwhere-test b/regress/tests/regexwhere-test index 692bd60b36..eaaa3fe6fa 100755 --- a/regress/tests/regexwhere-test +++ b/regress/tests/regexwhere-test @@ -13,6 +13,16 @@ scripts/copy-test-confs /bin/cp -f scripts/bacula-dir.conf.regexwhere bin/bacula-dir.conf +# +# Remove the !restored from the messages resource because +# this test needs the restored listing to verify the +# restore results +# +outf="${cwd}/tmp/sed_tmp" +echo "s%, \!restored%%g" >${outf} +cp ${cwd}/bin/bacula-fd.conf ${cwd}/tmp/1 +sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-fd.conf + echo "${cwd}/build/po" >tmp/file-list start_test