From 276e6ca714999bbeacfbe1abaf7cfa9a4e78a78b Mon Sep 17 00:00:00 2001 From: Alaa Eddine Elamri Date: Wed, 20 Jul 2022 16:17:31 +0200 Subject: [PATCH] systemtest: fix pam test options --- systemtests/tests/bconsole-pam/testrunner | 6 ++---- systemtests/tests/python-pam/testrunner | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/systemtests/tests/bconsole-pam/testrunner b/systemtests/tests/bconsole-pam/testrunner index d05a8c9710d..10c07614ce6 100755 --- a/systemtests/tests/bconsole-pam/testrunner +++ b/systemtests/tests/bconsole-pam/testrunner @@ -55,14 +55,12 @@ if [ -n "$libasan" ]; then fi output=/dev/null -BAREOS_DIR_OPTIONS="" if is_debug; then export PAM_WRAPPER_DEBUGLEVEL=4 - BAREOS_DIR_OPTIONS="-d 200" output=/dev/stdout - LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f "${BAREOS_DIR_OPTIONS}" >$output 2>&1 & + LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f -d 200 >$output 2>&1 & else - LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f >$output 2>&1 & + LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f >$output 2>&1 & fi sleep 1 diff --git a/systemtests/tests/python-pam/testrunner b/systemtests/tests/python-pam/testrunner index a8652ef0549..ea7ecb67915 100755 --- a/systemtests/tests/python-pam/testrunner +++ b/systemtests/tests/python-pam/testrunner @@ -55,14 +55,12 @@ if [ -n "$libasan" ]; then fi output=/dev/null -BAREOS_DIR_OPTIONS="" if is_debug; then export PAM_WRAPPER_DEBUGLEVEL=4 - BAREOS_DIR_OPTIONS="-d 200" output=/dev/stdout - LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f "${BAREOS_DIR_OPTIONS}" >$output 2>&1 & + LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f -d 200 >$output 2>&1 & else - LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f >$output 2>&1 & + LD_PRELOAD="${preload_libs}" "${BAREOS_DIRECTOR_BINARY}" -c "${conf}" -f >$output 2>&1 & fi # make sure, director is up and running.