diff options
author | Elliott Hughes <enh@google.com> | 2018-05-02 10:47:00 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-05-02 10:49:13 -0700 |
commit | 89722709b4e957eda67a8faa6dbe6ff2e05486d1 (patch) | |
tree | 0998c0489299d36e1a1327b922d53800b906e5a2 | |
parent | 78393951de05ef60456f23d959400125684d7f7a (diff) | |
download | system_core-89722709b4e957eda67a8faa6dbe6ff2e05486d1.tar.gz system_core-89722709b4e957eda67a8faa6dbe6ff2e05486d1.tar.bz2 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.cpp | 4 |
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) { std::string result; ConsumeFd(std::move(output_fd), &result); - ASSERT_MATCH(result, R"(signal 11 \(SIGSEGV\), code 0 \(SI_USER\), fault addr --------)"); + ASSERT_MATCH( + result, + R"(signal 11 \(SIGSEGV\), code 0 \(SI_USER from pid \d+, uid \d+\), fault addr --------)"); ASSERT_MATCH(result, R"(backtrace:)"); } |