X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fbtape-fill-tape;h=bca41b964d035fabd7309f23f9cf2edf0c3429f7;hb=414ee85d83197d4f61499f9542455695fa7da276;hp=e658e966e91d4927a24a9fc3583921c5925048ca;hpb=5b4f40e5baaa8cbba795741f60488e464fddea1e;p=bacula%2Fbacula diff --git a/regress/tests/btape-fill-tape b/regress/tests/btape-fill-tape index e658e966e9..bca41b964d 100755 --- a/regress/tests/btape-fill-tape +++ b/regress/tests/btape-fill-tape @@ -5,27 +5,25 @@ TestName="btape-fill-tape" JobName=filltape . scripts/functions -set_debug 0 -scripts/copy-tape-confs -scripts/cleanup-tape +copy_tape_confs -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1 sed "s%# MaximumVolumeSize% MaximumVolumeSize%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf start_test -bin/btape -c bin/bacula-sd.conf DDS-4 <&1 >tmp/log1.out +cat <${cwd}/tmp/bconcmds fill s - quit END_OF_DATA +run_btape DDS-4 -grep "^The last block on the tape matches\. Test succeeded\." tmp/log1.out 2>&1 >/dev/null +grep "^The last block on the tape matches\. Test succeeded\." ${cwd}/tmp/log1.out 2>&1 >/dev/null if [ $? != 0 ] ; then echo " " echo " "