From 863468803de3f92f9bada6bffd010a204ee996d7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 10 Aug 2017 10:41:47 -0400 Subject: [PATCH] ceph_test_objectstore: drop expect regex If logging is enabled (as it now is in teuthology) this won't match the forked output. Signed-off-by: Sage Weil --- src/test/objectstore/store_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 8980aac37c4f..aa59522407b0 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -2849,7 +2849,7 @@ TEST_P(StoreTest, SimpleCloneTest) { t.remove_collection(cid); cerr << "Invalid rm coll" << std::endl; PrCtl unset_dumpable; - EXPECT_DEATH(apply_transaction(store, &osr, std::move(t)), ".*Directory not empty.*"); + EXPECT_DEATH(apply_transaction(store, &osr, std::move(t)), ""); } { ObjectStore::Transaction t; @@ -2871,7 +2871,7 @@ TEST_P(StoreTest, SimpleCloneTest) { t.remove(cid, hoid2); t.remove_collection(cid); PrCtl unset_dumpable; - EXPECT_DEATH(apply_transaction(store, &osr, std::move(t)), ".*Directory not empty.*"); + EXPECT_DEATH(apply_transaction(store, &osr, std::move(t)), ""); } { ObjectStore::Transaction t; -- 2.47.3