]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/win32-backup-tape
update
[bacula/bacula] / regress / tests / win32-backup-tape
index aa7d5bfdcf76921597a19c8fcfa87335dda82c35..4afd093536f032cde4f0888187ab43cc3fe00900 100755 (executable)
@@ -8,10 +8,12 @@ TestName="win32-backup-tape"
 JobName=win32tape
 . scripts/functions
 
+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
@@ -32,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