From 0825428fef00e6b4b107526ffa462fa7558aace4 Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 13 May 2021 12:35:11 -0400 Subject: [PATCH] Add config/parse test where the option/value are not in the same arg. All the tests in this module use --option=value syntax so add one test with --option value syntax for coverage. --- test/src/module/config/parseTest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/module/config/parseTest.c b/test/src/module/config/parseTest.c index 4bdbcf711..0cbd13e13 100644 --- a/test/src/module/config/parseTest.c +++ b/test/src/module/config/parseTest.c @@ -1172,7 +1172,8 @@ testRun(void) strLstAdd(argList, strNew("--pg1-path=/path/to/db/")); strLstAdd(argList, strNew("--no-online")); strLstAdd(argList, strNew("--no-config")); - strLstAdd(argList, strNew("--repo1-type=s3")); + strLstAdd(argList, strNew("--repo1-type")); + strLstAdd(argList, strNew("s3")); // Argument for the option above strLstAdd(argList, strNew("--repo1-s3-bucket=test")); strLstAdd(argList, strNew("--repo1-s3-endpoint=test")); strLstAdd(argList, strNew("--repo1-s3-region=test"));