From 76dabfa29e70b460cd22065837821703ada32593 Mon Sep 17 00:00:00 2001 From: Rachel Kroll Date: Wed, 13 Jan 2016 17:40:01 -0800 Subject: [PATCH] match new signal text from prior diff; squash colors (!) Reviewed By: yfeldblum Differential Revision: D2828789 fb-gh-sync-id: 71e45ffe31061220e06d7e7762058f8a1501b5cc --- .../symbolizer/test/SignalHandlerTest.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/folly/experimental/symbolizer/test/SignalHandlerTest.cpp b/folly/experimental/symbolizer/test/SignalHandlerTest.cpp index 6ed03e8c..3ad2dc19 100644 --- a/folly/experimental/symbolizer/test/SignalHandlerTest.cpp +++ b/folly/experimental/symbolizer/test/SignalHandlerTest.cpp @@ -60,17 +60,18 @@ TEST(SignalHandler, Simple) { "^\\*\\*\\* Aborted at [0-9]+ \\(Unix time, try 'date -d @[0-9]+'\\) " "\\*\\*\\*\n" "\\*\\*\\* Signal 11 \\(SIGSEGV\\) \\(0x2a\\) received by PID [0-9]+ " - "\\(pthread TID 0x[0-9a-f]+\\) \\(linux TID [0-9]+\\), " + "\\(pthread TID 0x[0-9a-f]+\\) \\(linux TID [0-9]+\\) " + "\\(maybe from PID [0-9]+, UID [0-9]+\\) " + "\\(code: address not mapped to object\\), " "stack trace: \\*\\*\\*\n" ".*\n" - " @ [0-9a-f]+ folly::symbolizer::test::SignalHandler_Simple_Test" - "::TestBody\\(\\)\n" + ".* @ [0-9a-f]+.* folly::symbolizer::test::SignalHandler_Simple_Test" + "::TestBody\\(\\).*\n" ".*\n" - " @ [0-9a-f]+ main\n" + ".* @ [0-9a-f]+.* main.*\n" ".*\n" "Callback1\n" - "Callback2\n" - ); + "Callback2\n"); #endif } -- 2.34.1