From 473439cc1cd3cff7c7024e07bf22b1c0432ab7ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Fri, 12 Feb 2021 10:56:23 +0000 Subject: [PATCH] chore: fix test for GitHub actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Lesimple --- tests/functional/tests.d/340-selfaccesses.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/tests.d/340-selfaccesses.sh b/tests/functional/tests.d/340-selfaccesses.sh index b555dd3..df820a0 100644 --- a/tests/functional/tests.d/340-selfaccesses.sh +++ b/tests/functional/tests.d/340-selfaccesses.sh @@ -161,7 +161,7 @@ testsuite_selfaccesses() set -e success ssh shellaccountatlo2_mustwork $a0 $shellaccount@127.0.0.2 --kbd-interactive -- echo $randomstr - contain REGEX "$shellaccount@($targethostname|127.0.0.2):22" + contain REGEX "$shellaccount@($targethostname|127.0.0.2|fv-[a-z0-9-]+):22" contain "allowed ... log on" nocontain "Permission denied" contain "$randomstr" @@ -385,7 +385,7 @@ testsuite_selfaccesses() # should success ssh shellaccountatlo2_mustwork226 $a0 $shellaccount@127.0.0.2 -p 226 -- echo $randomstr - contain REGEX "$shellaccount@(127.0.0.2|$targethostname):226" + contain REGEX "$shellaccount@(127.0.0.2|$targethostname|fv-[a-z0-9-]+):226" contain "allowed ... log on" nocontain "Permission denied" contain "$randomstr"