6 # * Get a working Windows OS on your network
7 # * Install strawberry perl version with msi
8 # http://www.bacula.org/downloads/depkgs-mingw32/strawberry-perl-5.10.1.0.msi
9 # * Install the latest version of Bacula FD
10 # * Copy or make accessible (Network share, VirtualBox share)
11 # regress/scripts/regress-win32.pl
12 # * Execute the script on the Windows box
13 # perl regress-win32.pl
14 # * Run this script with the proper config settings about WIN32
16 TestName="win32-systemstate-test"
20 scripts/copy-test-confs
21 cp scripts/win32-bacula-dir.conf bin/bacula-dir.conf
23 URL=http://$WIN32_ADDR:8091
24 wget -qO $tmp/stop.log "$URL/stop"
25 wget -qO $tmp/update.log "$URL/set_director_name?name=$HOST-dir;pass=$WIN32_PASSWORD"
26 wget -qO $tmp/start.log "$URL/start"
30 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
33 @$out ${cwd}/tmp/log1.out
34 status client=$WIN32_CLIENT
35 label storage=File volume=TestVolume001
36 run job=SystemstateJob storage=File yes
42 @$out ${cwd}/tmp/log2.out
43 restore where=/ storage=File
54 check_for_zombie_jobs storage=File