Index: libs/exception/test/cloning_test.cpp =================================================================== --- libs/exception/test/cloning_test.cpp (revision 69389) +++ libs/exception/test/cloning_test.cpp (working copy) @@ -180,7 +180,8 @@ catch( T & x ) { - BOOST_TEST(std::string("what")==x.what()); + BOOST_TEST(std::string(x.what()).find("what") != + std::string::npos); boost::exception_ptr p = boost::current_exception(); BOOST_TEST(!(p==boost::exception_ptr())); BOOST_TEST(p!=boost::exception_ptr()); @@ -193,7 +194,8 @@ catch( T & x ) { - BOOST_TEST(std::string("what")==x.what()); + BOOST_TEST(std::string(x.what()).find("what") != + std::string::npos); } catch( ... )