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>
This commit is contained in:
Florian Weimer 2024-08-09 17:01:17 +02:00
parent eb0e50e9a1
commit c2a474f461

View File

@ -155,6 +155,7 @@ main (int argc, char **argv)
{ {
CMDLINE_OPTIONS CMDLINE_OPTIONS
TEST_DEFAULT_OPTIONS TEST_DEFAULT_OPTIONS
{ 0, }
}; };
test_config.options = &options; test_config.options = &options;
#endif #endif