From 115b8aab82cc50bac29288bebffc160610b5342f Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Mon, 30 Aug 2021 09:46:45 +0500 Subject: [PATCH] openvpn live tests: change "remote" inplace command line override is not very stable --- .ci/run-openvpn-tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/run-openvpn-tests.sh b/.ci/run-openvpn-tests.sh index 8826c975..7967be63 100755 --- a/.ci/run-openvpn-tests.sh +++ b/.ci/run-openvpn-tests.sh @@ -21,7 +21,7 @@ cat << EOF > tests/t_client.rc CA_CERT=fake TEST_RUN_LIST="1 2" -OPENVPN_BASE="--remote 127.0.0.1 --config $CONFIG --auth-user-pass /tmp/auth.txt" +OPENVPN_BASE="--config $CONFIG --auth-user-pass /tmp/auth.txt" RUN_TITLE_1="testing udp/ipv4" OPENVPN_CONF_1="--dev null --proto udp --port 1194 \$OPENVPN_BASE" @@ -30,4 +30,6 @@ RUN_TITLE_2="testing tcp/ipv4" OPENVPN_CONF_2="--dev null --proto tcp --port 1194 \$OPENVPN_BASE" EOF +sed -i 's/^remote.*$/remote 127.0.0.1 1194/g' /tmp/*l3*ovpn + make test_scripts=t_client.sh check