diff options
Diffstat (limited to 'tests/dl_test.cpp')
-rw-r--r-- | tests/dl_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |