1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

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.
This commit is contained in:
David Steele 2021-05-13 12:35:11 -04:00
parent 26fefa6aee
commit 0825428fef

View File

@ -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"));