diff --git a/libwvdrmengine/oemcrypto/test/oemcrypto_basic_test.cpp b/libwvdrmengine/oemcrypto/test/oemcrypto_basic_test.cpp index 736e56ef..365cfec4 100644 --- a/libwvdrmengine/oemcrypto/test/oemcrypto_basic_test.cpp +++ b/libwvdrmengine/oemcrypto/test/oemcrypto_basic_test.cpp @@ -227,6 +227,13 @@ TEST_F(OEMCryptoClientTest, VersionNumber) { if (build_info.size() != buf_length) { build_info.resize(buf_length); } + const std::string comma = ","; + const std::string pretty_comma = ",\n "; + std::string::size_type pos = 0; + while ((pos = build_info.find(comma, pos)) != std::string::npos) { + build_info.replace(pos, comma.size(), pretty_comma); + pos += pretty_comma.size(); + } cout << " BuildInformation: " << build_info << endl; OEMCrypto_WatermarkingSupport support = OEMCrypto_GetWatermarkingSupport(); cout << " WatermarkingSupport: " << support << endl;