[wip] Add automation support for proxy settings

This commit is contained in:
William Wernert
2021-03-05 12:53:20 -05:00
parent ec04145d15
commit 245902326f
2 changed files with 82 additions and 0 deletions

View File

@@ -1835,6 +1835,10 @@ proxy_validate() {
if [[ $ret != 0 ]]; then
error "Could not reach $test_url using proxy $so_proxy"
if [[ -n $TESTING ]]; then
error "Exiting setup"
kill -SIGINT "$(ps --pid $$ -oppid=)"; exit 1
fi
fi
return $ret
}