X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fbtape-fill-full-tape;h=6c34094ab8302f16deaca80adf17818f67e6dbb0;hb=07daebd6aa15d60d16f8ce0ce00b2ecc63da8836;hp=7c32d04cda3a71666b7a0765b9869664ec7b6b8b;hpb=5aaea29875378ce6de2b530141124d1a892edc2a;p=bacula%2Fbacula diff --git a/regress/tests/btape-fill-full-tape b/regress/tests/btape-fill-full-tape index 7c32d04cda..6c34094ab8 100755 --- a/regress/tests/btape-fill-full-tape +++ b/regress/tests/btape-fill-full-tape @@ -6,13 +6,15 @@ TestName="btape-fill-full-tape" JobName=AutoLabel . scripts/functions +require_tape_drive + scripts/copy-tape-confs scripts/cleanup-tape change_jobname $JobName start_test -bin/btape -c bin/bacula-sd.conf DDS-4 <&1 >${cwd}/tmp/log1.out +$bin/btape -c bin/bacula-sd.conf DDS-4 <${cwd}/tmp/log1.out 2>&1 fill s @@ -20,7 +22,7 @@ quit END_OF_DATA -grep "^The last block on the tape matches\. Test succeeded\." ${cwd}/tmp/log1.out 2>&1 >/dev/null +grep "^The last block on the tape matches\. Test succeeded\." ${cwd}/tmp/log1.out >/dev/null 2>&1 if [ $? != 0 ] ; then echo " " echo " "