]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/win32-backup-tape
ebl Update accurate test to check the number of files that are
[bacula/bacula] / regress / tests / win32-backup-tape
index 3322da8d49977e1466636ec365b41fb29e7b480f..4afd093536f032cde4f0888187ab43cc3fe00900 100755 (executable)
@@ -7,12 +7,13 @@
 TestName="win32-backup-tape"
 JobName=win32tape
 . scripts/functions
-set_debug 0
+
+require_tape_drive
 
 scripts/copy-win32-confs
 scripts/cleanup-tape
 
-echo "${cwd}/build" >/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
 change_jobname $JobName
 start_test
@@ -33,7 +34,7 @@ messages
 @# now do a restore
 @#
 @$out tmp/log2.out
-restore where=c:/tmp/bacula-restores select all storage=DDS-4 done
+restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
 yes
 wait
 messages