From bce474a744503f00470a5d92c7efc2c65cd491c8 Mon Sep 17 00:00:00 2001 From: Alain Spineux Date: Thu, 6 Oct 2022 13:15:27 +0200 Subject: [PATCH] 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 --- regress/scripts/functions | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 <