Docker: enable ssh tests

Test: restore tty after restconf start
This commit is contained in:
Olof hagsand 2023-11-19 12:16:23 +01:00
parent 8601690c91
commit cafbe7d200
10 changed files with 41 additions and 9 deletions

View file

@ -637,6 +637,7 @@ function wait_restconf(){
fi
# echo "curl $CURLOPTS -X GET $myproto://localhost/restconf"
hdr=$(curl $CURLOPTS -X GET $myproto://localhost/restconf 2> /dev/null)
stty $STTYSETTINGS >/dev/null
# echo "hdr:\"$hdr\""
let i=0;
while [[ "$hdr" != *"200"* ]]; do