Skip to content

Commit 226943c

Browse files
committed
Verify http proxy environment variables absense in standard suite
1 parent ef250ca commit 226943c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/suites/standard2/configuration.robot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ Crio Uses Crun Runtime
141141
${stdout} ${stderr} ${rc}= Command Execution rpm -q microshift-low-latency
142142
IF ${rc} == 0 Should Contain ${runtime} high-performance
143143

144+
Http Proxy Is Not Defined
145+
[Documentation] Verify that the http proxy environment variables are not defined
146+
147+
${stdout} ${stderr} ${rc}= Command Execution env | grep -iE 'http_proxy|https_proxy|no_proxy'
148+
# The grep command returns a non-zero code when the output is empty
149+
Should Not Be Equal ${rc} 0
150+
Should Be Empty ${stdout}
151+
144152

145153
*** Keywords ***
146154
Setup

0 commit comments

Comments
 (0)