From: Alain Spineux Date: Thu, 6 Oct 2022 11:15:27 +0000 (+0200) Subject: regress: support new FORCE_SDENC and key-manager script X-Git-Tag: Beta-15.0.0~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bce474a744503f00470a5d92c7efc2c65cd491c8;p=thirdparty%2Fbacula.git regress: support new FORCE_SDENC and key-manager script - use a shell wrapper to call key-manager.py, because the Bacula's directive are limited to 128 chars --- diff --git a/regress/scripts/functions b/regress/scripts/functions index 4a961d42d..777d1fd65 100755 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -213,6 +213,24 @@ EOF $bperl -e 'add_attribute("$conf/bacula-dir.conf", "SD Calls Client", "yes", "Client")' variant_name="${variant_name} SDcall" fi + if [ x$FORCE_SDENC = xyes ]; then + SDENC_COMMAND="\"$bin/key-manager-cmd.sh\"" + cat > $bin/key-manager-cmd.sh <