]> git.sur5r.net Git - bacula/bacula/blob - regress/tests/win32-test
Tweak correct English in debug output of regress tests
[bacula/bacula] / regress / tests / win32-test
1 #!/bin/sh
2 #
3 # Run a simple backup of the Bacula build directory using the compressed option
4 #   then restore it.
5 #
6 TestName="win32-test"
7 JobName=win32
8 . scripts/functions
9
10 scripts/cleanup
11 scripts/copy-test-confs
12 cp scripts/win32-bacula-dir.conf bin/bacula-dir.conf
13
14 change_jobname NightlySave $JobName
15 start_test
16       
17 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
18 @output
19 messages
20 @$out ${cwd}/tmp/log1.out
21 status all
22 status all
23 messages
24 label storage=File volume=TestVolume001
25 setdebug level=100 dir
26 run job=$JobName storage=File yes
27 wait
28 messages
29 @# 
30 @# now do a restore
31 @#
32 @$out ${cwd}/tmp/log2.out
33 setdebug level=400 trace=1 client=Tibs
34 restore where=c:/tmp/xxx select storage=File
35 unmark *
36 mark *
37 done
38 yes
39 wait
40 messages
41 @output
42 quit
43 END_OF_DATA
44
45 run_bacula
46 check_for_zombie_jobs storage=File
47 stop_bacula
48
49 check_two_logs
50 # check_restore_diff
51 dstat=0
52 end_test