From: Sage Weil Date: Thu, 10 Aug 2017 14:41:47 +0000 (-0400) Subject: ceph_test_objectstore: drop expect regex X-Git-Tag: v12.1.4~27 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2579054279c12632a6bd0b281e6a499b2ee40495;p=ceph.git 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 (cherry picked from commit 863468803de3f92f9bada6bffd010a204ee996d7) --- 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;