mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
tests: allow conditionnal execution on pattern
Option can be used to filter out irrelevant tests usage: ./torture_pki '*ed25519' Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
8af829a42a
commit
d42a1a35b0
@ -41,6 +41,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) {
|
||||
break;
|
||||
case ARGP_KEY_ARG:
|
||||
/* End processing here. */
|
||||
arguments->pattern = state->argv[state->next - 1];
|
||||
cmdline = &state->argv [state->next - 1];
|
||||
state->next = state->argc;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user