[PATCH v4 29/29] tests/remote: add test_ap_sta_tp.sh script

Janusz Dziedzic janusz.dziedzic at tieto.com
Fri Feb 26 01:38:44 PST 2016


This allow to run all combination tests using
directly test_ap_sta_tp.py file.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic at tieto.com>
---
 tests/remote/test_ap_sta_tp.sh | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100755 tests/remote/test_ap_sta_tp.sh

diff --git a/tests/remote/test_ap_sta_tp.sh b/tests/remote/test_ap_sta_tp.sh
new file mode 100755
index 0000000..e2998b9
--- /dev/null
+++ b/tests/remote/test_ap_sta_tp.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+DUT=t1-ath9k
+REF=t2-ath9k
+
+COUNTRIES="US"
+DUT_TYPES="sta ap"
+#CHANNELS="1 6 11 36 149"
+CHANNELS="1 36 149"
+#BWS="g_only_wmm a_only_wmm HT20 HT40+ HT40- VHT80"
+BWS="HT40+"
+TEST_TIME="10"
+PARALLELS="1"
+QOSS="be bk vi vo"
+SECURITIES="open wep tkip ccmp"
+TEST_TYPES="ipv4_ping ipv6_ping ipv4_tcp_download ipv4_tcp_upload ipv6_tcp_download ipv6_tcp_upload ipv4_udp_download ipv4_udp_upload ipv6_udp_download ipv6_udp_upload"
+
+for DUT_TYPE in $DUT_TYPES
+do
+  for COUNTRY in $COUNTRIES
+  do
+    for BW in $BWS
+    do
+      for CHANNEL in $CHANNELS
+      do
+        for PARALLEL in $PARALLELS
+        do
+          for SECURITY in $SECURITIES
+          do
+            for TEST_TYPE in $TEST_TYPES
+            do
+              for QOS in $QOSS
+              do
+                ./test_ap_sta_tp.py --dut=$DUT --ref=$REF --test_type=$TEST_TYPE --dut_type=$DUT_TYPE --channel=$CHANNEL --bw=$BW --country=$COUNTRY --test_time=$TEST_TIME --parallel=$PARALLEL --qos=$QOS --security=$SECURITY
+              done
+            done
+          done
+        done
+      done
+    done
+  done
+done
-- 
1.9.1




More information about the Hostap mailing list