Skip to content

Commit

Permalink
test: cleanup tests and add some test scripts
Browse files Browse the repository at this point in the history
- Tighten up a bit of test path coding
- Add some test scripts (not fully revised for current code)

[cleanup commit message]
Signed-off-by: Nick Hainke <[email protected]>
  • Loading branch information
Ian-Clowes authored and PolynomialDivision committed Jun 11, 2022
1 parent 5b1eddc commit 32d6d6d
Show file tree
Hide file tree
Showing 5 changed files with 72,273 additions and 3 deletions.
27 changes: 27 additions & 0 deletions src/test/probe_sort.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
client client=00:0A:DD:05:CD:00 bssid=6A:1B:AA:00:12:00 freq=2500 ht_cap=0 vht_cap=0
probe client=00:0A:DD:05:CD:00 bssid=6A:1B:AA:00:12:00 signal=-101 freq=2500 ht_cap=0 vht_cap=0
probe client=00:0A:DD:05:CD:00 bssid=2C:B9:AA:00:05:00 signal=-107 freq=2500 ht_cap=0 vht_cap=0
probe client=00:0A:DD:05:CD:00 bssid=77:C0:AA:00:08:00 signal=-108 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=27:B9:AA:00:0C:00 signal=-84 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=59:D5:AA:00:0D:00 signal=-110 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=7C:37:AA:00:0E:00 signal=-106 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=61:D6:AA:00:13:00 signal=-109 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=21:01:AA:00:18:00 signal=-112 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=28:6D:AA:00:1C:00 signal=-108 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=01:39:AA:00:1D:00 signal=-111 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=06:08:AA:00:23:00 signal=-98 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=05:18:AA:00:2B:00 signal=-107 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=6D:3B:AA:00:32:00 signal=-85 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=10:24:AA:00:38:00 signal=-114 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=66:09:AA:00:48:00 signal=-92 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=59:46:AA:00:4B:00 signal=-105 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=15:E2:AA:00:4D:00 signal=-110 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=3A:78:AA:00:50:00 signal=-110 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=33:D6:AA:00:57:00 signal=-110 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=3C:D0:AA:00:58:00 signal=-105 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=0F:EE:AA:00:5D:00 signal=-112 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=69:40:AA:00:60:00 signal=-112 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=32:98:AA:00:63:00 signal=-113 freq=2500 ht_cap=0 vht_cap=0
#probe client=00:0A:DD:05:CD:00 bssid=0F:FC:AA:00:64:00 signal=-112 freq=2500 ht_cap=0 vht_cap=0

probe_show
3 changes: 3 additions & 0 deletions src/test/probe_stress_10.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
probe_stress 10
#probe_show
memaudit
13 changes: 13 additions & 0 deletions src/test/scale_ap.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#AP
ap bssid=0A:7B:AA:00:01:00 ht_sup=1 vht_sup=0 util=156 stations=13 ssid=aTestSSID weight=10 neighbors=0A:7B:AA:00:01:00
ap bssid=02:67:AA:00:02:00 ht_sup=1 vht_sup=0 util=98 stations=7 ssid=aTestSSID weight=10 neighbors=02:67:AA:00:02:00
ap bssid=14:02:AA:00:03:00 ht_sup=0 vht_sup=0 util=210 stations=15 ssid=aTestSSID weight=10 neighbors=14:02:AA:00:03:00
ap bssid=1F:36:AA:00:04:00 ht_sup=0 vht_sup=0 util=39 stations=3 ssid=aTestSSID weight=10 neighbors=1F:36:AA:00:04:00
ap bssid=69:E9:AA:00:05:00 ht_sup=1 vht_sup=0 util=80 stations=8 ssid=aTestSSID weight=10 neighbors=69:E9:AA:00:05:00
ap bssid=6A:97:AA:00:06:00 ht_sup=0 vht_sup=0 util=84 stations=7 ssid=aTestSSID weight=10 neighbors=6A:97:AA:00:06:00
ap bssid=45:63:AA:00:07:00 ht_sup=0 vht_sup=0 util=36 stations=3 ssid=aTestSSID weight=10 neighbors=45:63:AA:00:07:00
ap bssid=07:1E:AA:00:08:00 ht_sup=1 vht_sup=1 util=88 stations=8 ssid=aTestSSID weight=10 neighbors=07:1E:AA:00:08:00
ap bssid=45:A2:AA:00:09:00 ht_sup=1 vht_sup=0 util=156 stations=12 ssid=aTestSSID weight=10 neighbors=45:A2:AA:00:09:00
ap bssid=4C:4D:AA:00:0A:00 ht_sup=0 vht_sup=0 util=12 stations=1 ssid=aTestSSID weight=10 neighbors=4C:4D:AA:00:0A:00

ap_show
Loading

0 comments on commit 32d6d6d

Please sign in to comment.