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
This commit is contained in:
parent
b7d6df2b61
commit
9828386bd4
1 changed files with 1 additions and 1 deletions
|
@ -255,6 +255,6 @@ TEST(dl, disable_ld_config_file) {
|
||||||
ExecTestHelper eth;
|
ExecTestHelper eth;
|
||||||
eth.SetArgs({ helper.c_str(), nullptr });
|
eth.SetArgs({ helper.c_str(), nullptr });
|
||||||
eth.SetEnv({ env.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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue