summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2018-05-02 12:47:00 -0500
committerElliott Hughes2018-05-02 12:49:13 -0500
commit89722709b4e957eda67a8faa6dbe6ff2e05486d1 (patch)
tree0998c0489299d36e1a1327b922d53800b906e5a2
parent78393951de05ef60456f23d959400125684d7f7a (diff)
downloadplatform-system-core-89722709b4e957eda67a8faa6dbe6ff2e05486d1.tar.gz
platform-system-core-89722709b4e957eda67a8faa6dbe6ff2e05486d1.tar.xz
platform-system-core-89722709b4e957eda67a8faa6dbe6ff2e05486d1.zip
Fix a debuggerd test expectation.
70d8f289454c9b691ec5421b0ed0354b6baaace8 broke a test that was not expecting to see the new detail about the signal's sender. Bug: http://b/78594105 Test: ran tests Change-Id: Idfa3a53b9e664308efdba560ffbb1401c1904530
-rw-r--r--debuggerd/debuggerd_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/debuggerd/debuggerd_test.cpp b/debuggerd/debuggerd_test.cpp
index e410be910..9b64be70f 100644
--- a/debuggerd/debuggerd_test.cpp
+++ b/debuggerd/debuggerd_test.cpp
@@ -346,7 +346,9 @@ TEST_F(CrasherTest, signal) {
346 346
347 std::string result; 347 std::string result;
348 ConsumeFd(std::move(output_fd), &result); 348 ConsumeFd(std::move(output_fd), &result);
349 ASSERT_MATCH(result, R"(signal 11 \(SIGSEGV\), code 0 \(SI_USER\), fault addr --------)"); 349 ASSERT_MATCH(
350 result,
351 R"(signal 11 \(SIGSEGV\), code 0 \(SI_USER from pid \d+, uid \d+\), fault addr --------)");
350 ASSERT_MATCH(result, R"(backtrace:)"); 352 ASSERT_MATCH(result, R"(backtrace:)");
351} 353}
352 354