diff mbox series

[5/7] net/http: Replace $ipver by $TST_IPVER from tst_net.sh

Message ID 20180601114956.17265-6-pvorel@suse.cz
State Changes Requested
Delegated to: Petr Vorel
Headers show
Series TST_IPVER | expand

Commit Message

Petr Vorel June 1, 2018, 11:49 a.m. UTC
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/stress/http/http-stress | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/testcases/network/stress/http/http-stress b/testcases/network/stress/http/http-stress
index 211cd90aa..ff617a212 100644
--- a/testcases/network/stress/http/http-stress
+++ b/testcases/network/stress/http/http-stress
@@ -35,8 +35,7 @@  setup()
 {
 	tst_require_root
 
-	ipver=${TST_IPV6:-'4'}
-	tst_resm TINFO "run over IPv$ipver"
+	tst_resm TINFO "run over IPv$TST_IPVER"
 
 	trap "tst_brkm TBROK 'test interrupted'" INT