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.