bunpen: fix last failing integration test
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
nativeCheckInputs = [ which ];
|
nativeCheckInputs = [ which ];
|
||||||
|
|
||||||
# doCheck = true; #< TODO: fix tests!
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "userspace sandbox helper";
|
description = "userspace sandbox helper";
|
||||||
|
@@ -19,7 +19,7 @@ fn do_exec(path: str, args: []str) (os::exec::error | void) = {
|
|||||||
log::printfln("exec {} with argv: {}", path, joined);
|
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
|
// XXX: os::exec::exec offers no way to preserve argv0, but it does
|
||||||
// work if you don't care about that:
|
// work if you don't care about that:
|
||||||
|
Reference in New Issue
Block a user