summaryrefslogtreecommitdiffstats
path: root/tests/gb/bssgp_fc_tests.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-09-07 11:14:56 +0200
committerHarald Welte <laforge@gnumonks.org>2012-09-07 12:07:54 +0200
commit04f0989d1173bb8d2a8aa058eb18db41353352d4 (patch)
tree330f1897b170fe298c1de46a6c5fbe25ec7aac62 /tests/gb/bssgp_fc_tests.sh
parent57e5b94e905b493ba2290109a79bf860c80e6055 (diff)
GPRS BSSGP test: integrate into autotest
we use a smalle shell script to iterate over multiple tests
Diffstat (limited to 'tests/gb/bssgp_fc_tests.sh')
-rwxr-xr-xtests/gb/bssgp_fc_tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/gb/bssgp_fc_tests.sh b/tests/gb/bssgp_fc_tests.sh
new file mode 100755
index 00000000..38659bb9
--- /dev/null
+++ b/tests/gb/bssgp_fc_tests.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+T=$1/bssgp_fc_test
+
+# default test (1 second, insufficient queue depth)
+$T
+
+# default test (1 second, sufficient queue depth)
+$T -d 100
+
+# test with PDU too large for bucket max
+$T -l 1000
+
+# test with 100 byte PDUs (10 second)
+$T -s 100
+