diff --git a/test/cryfs-cli/CliTest_IntegrityCheck.cpp b/test/cryfs-cli/CliTest_IntegrityCheck.cpp index 8a41d18f..71ad4b49 100644 --- a/test/cryfs-cli/CliTest_IntegrityCheck.cpp +++ b/test/cryfs-cli/CliTest_IntegrityCheck.cpp @@ -89,7 +89,7 @@ TEST_F(CliTest_IntegrityCheck, givenIncorrectFilesystemId_thenFails) { modifyFilesystemId(); EXPECT_RUN_ERROR( args, - "Error: The filesystem id in the config file is different to the last time we loaded a filesystem from this basedir.", + "Error 20: The filesystem id in the config file is different to the last time we loaded a filesystem from this basedir.", ErrorCode::FilesystemIdChanged ); } @@ -101,7 +101,7 @@ TEST_F(CliTest_IntegrityCheck, givenIncorrectFilesystemKey_thenFails) { modifyFilesystemKey(); EXPECT_RUN_ERROR( args, - "Error: The filesystem encryption key differs from the last time we loaded this filesystem. Did an attacker replace the file system?", + "Error 21: The filesystem encryption key differs from the last time we loaded this filesystem. Did an attacker replace the file system?", ErrorCode::EncryptionKeyChanged ); }