From: Kefu Chai Date: Tue, 2 Apr 2024 10:15:14 +0000 (+0800) Subject: test: remove extraneous ")" after literal string for matcher X-Git-Tag: v20.0.0~2080^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c7895191ca26c70b6f07115b1d9ff3ddd436ca7c;p=ceph.git test: remove extraneous ")" after literal string for matcher this is a follow-up of fbbb336de961e433fc796dbdf6db650a836e9ef9, which added an extraneous ")" at the end of the string literal. and it breaks the build if ASan is enabled. Signed-off-by: Kefu Chai --- diff --git a/src/test/ceph_crypto.cc b/src/test/ceph_crypto.cc index 2755e0486a071..faed29b8fbce4 100644 --- a/src/test/ceph_crypto.cc +++ b/src/test/ceph_crypto.cc @@ -274,7 +274,7 @@ TEST_F(ForkDeathTest, MD5) { // sanitizer warns like: // ==3798016==Running thread 3797882 was not suspended. False leaks are possible. // but we should not take it as a fatal error. - const std::string matcher = ".*False leaks are possible.*"); + const std::string matcher = ".*False leaks are possible.*"; #else const std::string matcher = "^$"; #endif