From 9828386bd4857c438f206c1770087f93385cea39 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Tue, 28 Nov 2017 13:37:03 +0900 Subject: [PATCH] Fix: dl#disable_ld_config_file linker now quits with exit(1) instead of abort(). This is a leftover of https://android-review.googlesource.com/c/platform/bionic/+/497893 Bug: 69635156 Test: run dl#disable_ld_config_file in a user build Change-Id: If65c50805ffe89a601f4a9bfc1c6f0bb8dc16b77 --- tests/dl_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dl_test.cpp b/tests/dl_test.cpp index d56b017e5..7444e3a3b 100644 --- a/tests/dl_test.cpp +++ b/tests/dl_test.cpp @@ -255,6 +255,6 @@ TEST(dl, disable_ld_config_file) { ExecTestHelper eth; eth.SetArgs({ helper.c_str(), nullptr }); eth.SetEnv({ env.c_str(), nullptr }); - eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, -6, error_message.c_str()); + eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_message.c_str()); #endif }