]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/btape-fill-full-tape
Add new more stringent maxvol2 test
[bacula/bacula] / regress / tests / btape-fill-full-tape
index f4ba59fb5bf45f4e90458fdf16fd94e9e65f6898..7c32d04cda3a71666b7a0765b9869664ec7b6b8b 100755 (executable)
@@ -5,7 +5,6 @@
 TestName="btape-fill-full-tape"
 JobName=AutoLabel
 . scripts/functions
-set_debug 0
 
 scripts/copy-tape-confs
 scripts/cleanup-tape
@@ -13,7 +12,7 @@ scripts/cleanup-tape
 change_jobname $JobName
 start_test
 
-bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >tmp/log1.out
+bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >${cwd}/tmp/log1.out
 fill
 s
 
@@ -21,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 " "