From 04f7a798cff26c1809138d329e0a5717efc2b3c5 Mon Sep 17 00:00:00 2001 From: dimitry Date: Fri, 29 Sep 2017 11:52:17 +0200 Subject: Replace abort with exit(1) in __linker_cannot_link Bug: http://b/67038409 Test: bionic-unit-tests Change-Id: I7d39b44f2da8c5111ac8a9faf3416f19d5a35c05 --- tests/dl_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/dl_test.cpp') diff --git a/tests/dl_test.cpp b/tests/dl_test.cpp index aaf2c3742..ceb0b4d67 100644 --- a/tests/dl_test.cpp +++ b/tests/dl_test.cpp @@ -162,7 +162,7 @@ TEST(dl, exec_without_ld_config_file) { chmod(helper.c_str(), 0755); ExecTestHelper eth; eth.SetArgs({ helper.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 } -- cgit v1.2.3