mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
test: cleanup tests and add some test scripts
- 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 <vincent@systemli.org>
This commit is contained in:
parent
5b1eddc6f4
commit
32d6d6d57d
5 changed files with 72273 additions and 3 deletions
|
|
@ -174,7 +174,7 @@ static int array_auto_helper(int action, int i0, int i1)
|
|||
remove_old_ap_entries(faketime, 10);
|
||||
time_moves_on();
|
||||
}
|
||||
else
|
||||
else if ((action & HELPER_ACTION_MASK) == HELPER_ACTION_DEL)
|
||||
ap_array_delete(ap_array_get_ap(this_mac));
|
||||
break;
|
||||
case HELPER_CLIENT:
|
||||
|
|
@ -196,7 +196,7 @@ static int array_auto_helper(int action, int i0, int i1)
|
|||
remove_old_client_entries(faketime, 10);
|
||||
time_moves_on();
|
||||
}
|
||||
else
|
||||
else if ((action & HELPER_ACTION_MASK) == HELPER_ACTION_DEL)
|
||||
{
|
||||
client* client0 = client_array_get_client(this_mac);
|
||||
|
||||
|
|
@ -502,7 +502,7 @@ static int consume_actions(int argc, char* argv[], int harness_verbosity)
|
|||
ret = array_auto_helper(HELPER_CLIENT | HELPER_ACTION_STRESS, 1, atoi(*(argv + 1)));
|
||||
}
|
||||
}
|
||||
else if (strcmp(*argv, "remove_old_ap_entries") == 0)
|
||||
else if (strcmp(*argv, "remove_old_ap_entries") == 0)
|
||||
{
|
||||
args_required = 2;
|
||||
if (curr_arg + args_required <= argc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue