diff --git a/bin/pgbackrest b/bin/pgbackrest
index 19876f079..69db7c8f1 100755
--- a/bin/pgbackrest
+++ b/bin/pgbackrest
@@ -48,8 +48,10 @@ eval
}
# Set test options
- !optionGet(OPTION_TEST, false) or
+ if (optionTest(OPTION_TEST) && optionGet(OPTION_TEST))
+ {
testSet(optionGet(OPTION_TEST), optionGet(OPTION_TEST_DELAY), optionGet(OPTION_TEST_POINT, false));
+ }
################################################################################################################################
# Process remote commands
diff --git a/doc/xml/release.xml b/doc/xml/release.xml
index da8543ae0..aa60fd5b9 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -17,6 +17,11 @@
+
+ Chris Barber
+ gamerscomplete
+
+
Evan Benoitevanbenoit
@@ -86,6 +91,16 @@
+
+
+
+
+
+
+
Fixed an issue where the expire command would refuse to run when explicitly called from the command line if the db-host option was set. This was not an issue when expire was run after a backup, which is the usual case.
+
+
+
@@ -97,6 +112,12 @@
Added check command to validate that is configured correctly for archiving and backups.
+
+
+
+
Option handling is now far more strict. Previously it was possible for a command to use an option that was not explicitly assigned to it. This was especially true for the backup-host and db-host options which are used to determine locality.