Skip to contentSkip to conversation

network/stress/ssh: tcp_fastopen test must be run with kernel 3.7 or newer

PATCH In review Hangbin Liu 2 participants 2 messages Jul 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 network/stress/ssh: tcp_fastopen test must be run with kernel 3.7 or newer

---
 testcases/network/stress/ssh/ssh-stress | 3 +++
 1 file changed, 3 insertions(+)
testcases/network/stress/ssh/ssh-stress +3 -0
index 7960627..3ff2367 100644
@@ -126,6 +126,9 @@ test02()
 
 test03()
 {
+	tst_kvercmp 3 7 0 && \
+		tst_brkm TCONF "Test must be run with kernel 3.7 or newer"
+
 	tst_resm TINFO "Forwarding TCP traffic with $NS_TIMES requests"
 
 	# Run a TCP traffic server
Signature · 13 lines
1.9.3


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw

Hi!

testcases/network/stress/ssh/ssh-stress test02() · line 130

Quoted 10 lines
testcases/network/stress/ssh/ssh-stress +2 -0
index 7960627..3ff2367 100644
@@ -126,6 +126,9 @@ test02()
 
 test03()
 {
+	tst_kvercmp 3 7 0 && \
+		tst_brkm TCONF "Test must be run with kernel 3.7 or newer"

Hmm, do we need to exit whole test if test03() cannot be executed?

Shouldn't this rather be tst_resm TCONF followed with return?

Alexej, can you look at this please?

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list