1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-16 23:47:38 +02:00

Update HINT messages to conform to new standard detailed in CODING.md.

This commit is contained in:
Cynthia Shang
2019-09-14 12:21:08 -04:00
committed by David Steele
parent c5f496b903
commit 56bf9d0566
21 changed files with 50 additions and 36 deletions

View File

@ -290,14 +290,14 @@ sub run
$self->testException(sub {new pgBackRest::Common::Ini($strTestFile)}, ERROR_CRYPTO,
"unable to parse '$strTestFileCopy'" .
"\nHINT: Is or was the repo encrypted?");
"\nHINT: is or was the repo encrypted?");
# Prepend encryption Magic signature to main to simulate encryption
executeTest('echo "' . CIPHER_MAGIC . '$(cat ' . $strTestFile . ')" > ' . $strTestFile);
$self->testException(sub {new pgBackRest::Common::Ini($strTestFile)}, ERROR_CRYPTO,
"unable to parse '$strTestFile'" .
"\nHINT: Is or was the repo encrypted?");
"\nHINT: is or was the repo encrypted?");
}
################################################################################################################################