depot/third_party/nixpkgs/pkgs/by-name/co/cosmopolitan/fix-paths.patch
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

12 lines
456 B
Diff

--- a/test/tool/plinko/plinko_test.c
+++ b/test/tool/plinko/plinko_test.c
@@ -91,8 +91,8 @@ TEST(plinko, worksOrPrintsNiceError) {
sigaction(SIGQUIT, &savequit, 0);
sigaction(SIGPIPE, &savepipe, 0);
sigprocmask(SIG_SETMASK, &savemask, 0);
execve("bin/plinko.com", (char *const[]){"bin/plinko.com", 0},
- (char *const[]){0});
+ (char *const[]){"PATH=@coreutils@/bin", 0});
_exit(127);
}
close(pfds[0][0]);