From 3c607b83e41d54cbe1e49884c36b279469c1d22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Tue, 20 Feb 2024 13:56:40 +0000 Subject: [PATCH] fix: tests for FreeBSD --- tests/functional/launch_tests_on_instance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/launch_tests_on_instance.sh b/tests/functional/launch_tests_on_instance.sh index 59c02cf9b..c7298447f 100755 --- a/tests/functional/launch_tests_on_instance.sh +++ b/tests/functional/launch_tests_on_instance.sh @@ -672,7 +672,7 @@ runtests() configchg 's=^\\\\x22bastionCommand\\\\x22.+=\\\\x22bastionCommand\\\\x22:\\\\x22ssh\\\\x20USER\\\\x40'"$remote_ip"'\\\\x20-p\\\\x20'"$remote_port"'\\\\x20-t\\\\x20--\\\\x22,=' # account1 skips PAM MFA - success account1_nopam $r0 "usermod -a -G bastion-nopam $account0" + success account1_nopam $r0 "command -v pm && pw groupmod -n bastion-nopam -m $account0 || usermod -a -G bastion-nopam $account0" # backup the original default configuration on target side now=$(date +%s)