commit | f51c3fa9ff29b45accac8a22322616101b0438e0 | [log] [tgz] |
---|---|---|
author | Dimitry Ivanov <dimitry@google.com> | Thu May 18 15:20:20 2017 -0700 |
committer | Dimitry Ivanov <dimitry@google.com> | Mon May 22 00:41:15 2017 -0700 |
tree | 8c1c6e354d8f686dddcc59512331902e9fcd86fc | |
parent | 1092f47d3b30875af98775dbe28d49c0372f9dc4 [diff] |
Fix expected error message for wrong_arch Bug: https://issuetracker.google.com/38429013 Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsJniTestCases Change-Id: Ib807c4fe9f6d3b186e4ad99c46f6fd1daa369d3b (cherry picked from commit afe3b630df3255b59d52f0a1d8be6a91f1f7a489)
diff --git a/tests/tests/jni/libjnitest/android_jni_cts_LinkerNamespacesTest.cpp b/tests/tests/jni/libjnitest/android_jni_cts_LinkerNamespacesTest.cpp index ec81980..7ff00b0 100644 --- a/tests/tests/jni/libjnitest/android_jni_cts_LinkerNamespacesTest.cpp +++ b/tests/tests/jni/libjnitest/android_jni_cts_LinkerNamespacesTest.cpp
@@ -88,7 +88,7 @@ // https://issuetracker.google.com/37428428 // It's okay to not be able to load a library because it's for another // architecture (typically on an x86 device, when we come across an arm library). - return err.find("dlopen failed: library \"" + library + "\" has unexpected e_machine: ") == 0; + return err.find("dlopen failed: \"" + library + "\" has unexpected e_machine: ") == 0; } static bool check_lib(const std::string& path,