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

Petr Vorel pvorel@suse.cz
Fri Jun 1 13:49:54 CEST 2018


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/stress/http/http-stress | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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
 
-- 
2.16.3



More information about the ltp mailing list