1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-08-10 22:21:39 +02:00

Improvements to Ini.pm.

* Refactor Ini.pm to facilitate testing.
* Complete statement/branch coverage for Ini.pm.
* Improved functions used to test/munge manifest and info files.
This commit is contained in:
David Steele
2017-04-10 13:24:45 -04:00
parent 367e06f4be
commit 3d84f2ce5e
24 changed files with 1082 additions and 636 deletions

View File

@@ -2421,7 +2421,7 @@ sub optionValidate
confess &log(ERROR, "'${strConfigFile}' is not a file", ERROR_FILE_INVALID);
}
$oConfig = iniLoad($strConfigFile, undef, true);
$oConfig = iniParse(fileStringRead($strConfigFile), {bRelaxed => true});
}
}