mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
12 lines
484 B
Diff
12 lines
484 B
Diff
--- a/test/tool/plinko/plinko_test.c
|
|
+++ b/test/tool/plinko/plinko_test.c
|
|
@@ -89,7 +89,7 @@ TEST(plinko, worksOrPrintsNiceError) {
|
|
sigaction(SIGQUIT, &savequit, 0);
|
|
sigaction(SIGPIPE, &savepipe, 0);
|
|
sigprocmask(SIG_SETMASK, &savemask, 0);
|
|
- execve("bin/plinko", (char *const[]){"bin/plinko", 0}, (char *const[]){0});
|
|
+ execve("bin/plinko", (char *const[]){"bin/plinko", 0}, (char *const[]){"PATH=@coreutils@/bin", 0});
|
|
_exit(127);
|
|
}
|
|
close(pfds[0][0]);
|