X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fbtape-fill-full-tape;h=7c32d04cda3a71666b7a0765b9869664ec7b6b8b;hb=7ec6a7e8c7b6908e321883b18dbc64e244bc282a;hp=abcd8fed02b2b975d85c21ca4eddd119d60d9e8c;hpb=63b7dc63b83d3261dd467cc2e0c2504aba0b8a03;p=bacula%2Fbacula diff --git a/regress/tests/btape-fill-full-tape b/regress/tests/btape-fill-full-tape index abcd8fed02..7c32d04cda 100755 --- a/regress/tests/btape-fill-full-tape +++ b/regress/tests/btape-fill-full-tape @@ -2,17 +2,17 @@ # # Test the fill command in btape # -cwd=`pwd` +TestName="btape-fill-full-tape" +JobName=AutoLabel +. scripts/functions + scripts/copy-tape-confs scripts/cleanup-tape -echo " " -echo " " -echo " === Starting btape fill test `date +%R:%S` ===" -echo " === Starting btape fill test `date +%R:%S` ===" >>working/log -echo " " +change_jobname $JobName +start_test -bin/btape -c bin/bacula-sd.conf DDS-4 <&1 >tmp/log1.out +bin/btape -c bin/bacula-sd.conf DDS-4 <&1 >${cwd}/tmp/log1.out fill s @@ -20,7 +20,7 @@ quit END_OF_DATA -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 " "