mirror of
https://github.com/ovh/the-bastion.git
synced 2025-02-28 17:44:16 +08:00
chore: fix test for GitHub actions
Signed-off-by: Stéphane Lesimple <stephane.lesimple+bastion@ovhcloud.com>
This commit is contained in:
parent
59187fcf4c
commit
473439cc1c
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue