Try to make test more robust.
[dcpomatic.git] / test / kdm_cli_test.cc
index 303f2b0d4d470b8d01cc35ef930e7f608f755a8d..6e54f3a6c2f21a207374c069fe75ac561a42c24f 100644 (file)
@@ -127,7 +127,7 @@ BOOST_AUTO_TEST_CASE(kdm_cli_specify_decryption_key_test)
        output.clear();
        error = run(bad_args, output, false);
        BOOST_REQUIRE(error);
-       BOOST_CHECK(error->find("oaep decoding error") != string::npos);
+       BOOST_CHECK(error->find("Could not decrypt KDM") != string::npos);
 
        vector<string> good_args = {
                "kdm_cli",