]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
BEE Backport regress/tests/backup-win32-tape
authorAlain Spineux <alain@baculasystems.com>
Wed, 2 Sep 2020 12:47:06 +0000 (14:47 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 1 Mar 2022 14:36:17 +0000 (15:36 +0100)
This commit is the result of the squash of the following main commits:

Author: Alain Spineux <alain@baculasystems.com>
Date:   Thu Dec 17 10:42:26 2015 +0100

    regress: standardize  WIN32 script

    - add the unix local @hostname@-fd client to win32-bacula-dir.conf
    - make them
    - give more hints to prototype.conf
    - regress-win32.pl
      - in compare() sort both directories before compare accept ! in password
      - add 'service' do_md5sum to caclulat md5sum to compare with local restore
      - regex accept '.' in path
    - standardize all tests scripts :
      - change "client" into "client=$WIN32_CLIENT" for setdebug, status,
        restore and check_for_zombie_jobs
    - didn't check tests related to exchange, mssql and tape SORRY
    - do a chmod on directory tmp to be able to delete restore of win32 files

regress/tests/backup-win32-tape

index 86613e4425b4693e574d4b0b6da57e975745d4b3..a41adc1a8edaa8ef9593ccc6c0737c15a87acbc0 100755 (executable)
@@ -1,9 +1,7 @@
 #!/bin/sh
 #
-# Copyright (C) 2000-2015 Kern Sibbald
+# Copyright (C) 2000-2020 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
-#
-
 #
 # Run a simple backup of the Bacula build directory 
 #   to a tape then restore it, we do that twice to ensure that
@@ -47,7 +45,7 @@ messages
 END_OF_DATA
 
 run_bacula
-check_for_zombie_jobs storage=tape
+check_for_zombie_jobs storage=tape client=$WIN32_CLIENT
 stop_bacula
 
 check_two_logs