]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: force SDEnc to NULL for verify-data-test
authorAlain Spineux <alain@baculasystems.com>
Wed, 21 Sep 2022 11:42:01 +0000 (13:42 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
- sed can still works with NULL encryption

regress/tests/verify-data-test

index 410ba4eaccc2141acdc24be12b6ae7a2492da0d9..f926a12318b39e601c2d2d9b97868545232f61cb 100755 (executable)
@@ -32,6 +32,12 @@ find ${cwd}/build/src/filed -print >> ${files_listing}
 change_jobname NightlySave $JobName
 start_test
 
+if [ x$FORCE_SDENC = xyes ]; then
+   # force the encryption to be NULL make the sed works
+   FORCE_CIPHER=NULL
+   export FORCE_CIPHER
+fi
+
 cat <<END_OF_DATA >tmp/bconcmds
 @output /dev/null
 messages