]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: remove extraneous ")" after literal string for matcher 57093/head
authorKefu Chai <tchaikov@gmail.com>
Tue, 2 Apr 2024 10:15:14 +0000 (18:15 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 25 Apr 2024 13:43:34 +0000 (21:43 +0800)
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 <tchaikov@gmail.com>
src/test/ceph_crypto.cc

index 2755e0486a07111eb42c91710b46fe7e12a1f3c5..faed29b8fbce492d45dda52dae3ff6040bf515b1 100644 (file)
@@ -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