diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-08-09 17:01:17 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-08-09 17:01:19 +0200 |
commit | c2a474f4617ede7a8bf56b7257acb37dc757b2d1 (patch) | |
tree | 9bf7986773176907c83e36d8f089ca2ad45350c1 /support | |
parent | eb0e50e9a1cf80a2ba6f33f990a08ef37a3267fb (diff) | |
download | glibc-c2a474f4617ede7a8bf56b7257acb37dc757b2d1.zip glibc-c2a474f4617ede7a8bf56b7257acb37dc757b2d1.tar.gz glibc-c2a474f4617ede7a8bf56b7257acb37dc757b2d1.tar.bz2 |
support: Add options list terminator to the test driver
This avoids crashes if a test is passed unknown options.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'support')
-rw-r--r-- | support/test-driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/test-driver.c b/support/test-driver.c index f4c3e4d..04ceebc 100644 --- a/support/test-driver.c +++ b/support/test-driver.c @@ -155,6 +155,7 @@ main (int argc, char **argv) { CMDLINE_OPTIONS TEST_DEFAULT_OPTIONS + { 0, } }; test_config.options = &options; #endif |