bunpen: fix last failing integration test

This commit is contained in:
2024-09-05 23:21:56 +00:00
parent 05b8352b4d
commit 84a36d9ef8
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
nativeCheckInputs = [ which ];
# doCheck = true; #< TODO: fix tests!
doCheck = true;
meta = {
description = "userspace sandbox helper";

View File

@@ -19,7 +19,7 @@ fn do_exec(path: str, args: []str) (os::exec::error | void) = {
log::printfln("exec {} with argv: {}", path, joined);
};
errors::ext::check("exec", rt::ext::execve(path, args, os::getenvs()));
errors::ext::check("exec", rt::ext::execvpe(path, args, os::getenvs()));
// XXX: os::exec::exec offers no way to preserve argv0, but it does
// work if you don't care about that: