From 84a36d9ef870a50d4452c2988c86cadca827e645 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 5 Sep 2024 23:21:56 +0000 Subject: [PATCH] bunpen: fix last failing integration test --- pkgs/additional/bunpen/default.nix | 2 +- pkgs/additional/bunpen/main.ha | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/additional/bunpen/default.nix b/pkgs/additional/bunpen/default.nix index e338d7dc6..1ee86e986 100644 --- a/pkgs/additional/bunpen/default.nix +++ b/pkgs/additional/bunpen/default.nix @@ -12,7 +12,7 @@ nativeCheckInputs = [ which ]; - # doCheck = true; #< TODO: fix tests! + doCheck = true; meta = { description = "userspace sandbox helper"; diff --git a/pkgs/additional/bunpen/main.ha b/pkgs/additional/bunpen/main.ha index 6c4085b19..2e05cde6b 100644 --- a/pkgs/additional/bunpen/main.ha +++ b/pkgs/additional/bunpen/main.ha @@ -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: