diff options
-rwxr-xr-x | tests/setup_proxy_test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/setup_proxy_test b/tests/setup_proxy_test index e825796..6fab883 100755 --- a/tests/setup_proxy_test +++ b/tests/setup_proxy_test @@ -42,10 +42,11 @@ setup_proxy_interactive_none_body() { mkdir -p etc/profile.d touch etc/profile.d/proxy.sh - echo none | atf_check -s exit:0 \ + echo none > answers + atf_check -s exit:0 \ -o match:"HTTP/FTP proxy URL" \ -e empty \ - setup-proxy + setup-proxy < answers if test -e etc/profile.d/proxy.sh; then atf_fail "etc/profile.d/proxy.sh was not removed" |