From 0c3d3e143c2b4564963ca806b6a07ca0b38e2572 Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Dec 16 2020 11:17:30 +0000 Subject: Pass `yes` to installmgr --init Othewise tests hang on this ``` [root@ip-172-31-26-137 str]# ./installmgr.sh + OPTS=--allow-internet-access-and-risk-tracing-and-jail-or-martyrdom + installmgr --allow-internet-access-and-risk-tracing-and-jail-or-martyrdom -init While connecting to an encrypted install source, SWORD can allow unverified peers, e.g., self-signed certificates. While this is generally considered safe because SWORD only retrieves Bible content and does not send any data to the server, it could still possibly allow a malicious actor to sit between you and the server, as with unencrypted sources. Type no to turn this off. Would you like to allow unverified peers? [yes] ^C ``` Signed-off-by: Miroslav Vadkerti --- diff --git a/tests/installmgr.sh b/tests/installmgr.sh index 6680d4f..daf9ac4 100755 --- a/tests/installmgr.sh +++ b/tests/installmgr.sh @@ -2,6 +2,6 @@ set -ex OPTS="--allow-internet-access-and-risk-tracing-and-jail-or-martyrdom" -installmgr $OPTS -init +yes | installmgr $OPTS -init installmgr $OPTS -sc installmgr $OPTS -r CrossWire