diff options
author | Christian Schwarz <[email protected]> | 2021-02-16 11:14:44 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-02-19 22:45:10 -0800 |
commit | 2801e68d1bedaedd76c433a7cf6eafd304bc7ccf (patch) | |
tree | 967c3e3f65e895e8f64eff26161b3ae42d50deb4 /etc/Makefile.am | |
parent | edc508ac0b80996d872f3c5d86c2ee49b519a661 (diff) |
ztest: fix -o by calling set_global_var in child processes
Without set_global_var() in the child processes the -o option provides
little use.
Before this change set_global_var() was called as a side-effect of
getopt processing which only happens for the parent ztest process.
This change limits the set of options that can be set and makes them
available to the child through ztest_shared_opts_t.
Future work: support arbitrary option count and length.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Pavel Zakharov <[email protected]>
Signed-off-by: Christian Schwarz <[email protected]>
Closes #11602
Diffstat (limited to 'etc/Makefile.am')
0 files changed, 0 insertions, 0 deletions