From: Alain Spineux Date: Wed, 2 Sep 2020 12:47:06 +0000 (+0200) Subject: BEE Backport regress/tests/backup-win32-tape X-Git-Tag: Release-11.3.2~1296 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a886476ed22a135b12bbf0630d826fa66c78bdac;p=thirdparty%2Fbacula.git BEE Backport regress/tests/backup-win32-tape This commit is the result of the squash of the following main commits: Author: Alain Spineux 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 --- diff --git a/regress/tests/backup-win32-tape b/regress/tests/backup-win32-tape index 86613e4425..a41adc1a8e 100755 --- a/regress/tests/backup-win32-tape +++ b/regress/tests/backup-win32-tape @@ -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