author Ian Clowes <clowes_ian@hotmail.com> 1590603904 +0100
committer Ian Clowes <clowes_ian@hotmail.com> 1594246123 +0100

datastorage (bug fix): deleting expired array item would fail to test next item
test_storage: extended to cover all required datastorage entry points
test_storage: added ability to read script file
test_storage: added new and revised test scripts
TESTING.md: added to describe testing approach
general: added various TODO notes on things to come back to
general: revised #includes to make each "self-compiling"
general: revised #includes to minimise usage across source files
general: moved declarations and defintions to simplify and rationalise code
datastorage: refactor to support scalability testing
datastorage: made independent of time() calls to support testing
datastorage: fixed redundant use of both SORT_NUM and SORT_LENGTH defines
datastorage: fake kicking to test clients move between access points
msghandler: new module to reduce compile time interdependencies
mshhandler: (issue #100?) fixed SEGV memcpy() in dump_client() using strncpy()
ubus: merged uface into ubus
mac_utils: new module for MAC address utilites
test_header: added target to help #include rationalisation
This commit is contained in:
Ian Clowes 2020-05-27 19:25:04 +01:00
parent 0f63e00c43
commit d64fbf0e46
46 changed files with 2947 additions and 1476 deletions

30
src/test/old_auth.script Normal file
View file

@ -0,0 +1,30 @@
faketime set 100
auth_entry_show
remove_old_auth_entries 50
faketime show
auth_entry bssid=00:11:22:33:44:55 client=ff:ee:dd:cc:bb:aa
faketime add 25
faketime show
auth_entry bssid=01:11:22:33:44:55 client=ff:ee:dd:cc:bb:aa
faketime add 25
faketime show
auth_entry bssid=02:11:22:33:44:55 client=ff:ee:dd:cc:bb:aa
faketime add 25
faketime show
auth_entry bssid=03:11:22:33:44:55 client=ff:ee:dd:cc:bb:aa
faketime add 25
faketime show
auth_entry bssid=04:11:22:33:44:55 client=ff:ee:dd:cc:bb:aa
auth_entry_show
remove_old_auth_entries 50
auth_entry_show
remove_old_auth_entries 0
auth_entry_show