From eb5d09471569b670a71b453dccc03134e0066c4c Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Sat, 16 Jan 2021 12:43:06 -0800 Subject: [PATCH] Disable spawnve_test (#14) Multiple users have reported that this test fails, for reasons that are currently unknown. It's possible that, some type of environment variable configuration, e.g. PATH, CC, etc. is causing the failure. Once the root cause is identified and addressed we'll re-enable it. Anyone who is able to help us do that, please comment on the issue. --- test/libc/calls/hefty/spawnve_test.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/libc/calls/hefty/spawnve_test.c b/test/libc/calls/hefty/spawnve_test.c index f3b82410e..03b3af821 100644 --- a/test/libc/calls/hefty/spawnve_test.c +++ b/test/libc/calls/hefty/spawnve_test.c @@ -27,6 +27,17 @@ #include "libc/sysv/consts/fileno.h" #include "libc/testlib/testlib.h" +/* + * TODO: Re-enable me. + * + * Multiple users have reported that this test fails, for reasons that + * are currently unknown. It's possible that, some type of environment + * variable configuration, e.g. PATH, CC, etc. is causing the failure. + * + * https://github.com/jart/cosmopolitan/issues/14 + */ +#if 0 + #define CMD (IsWindows() ? "cmd" : "sh") #define ARG (IsWindows() ? "/c" : "-c") #define COD (IsWindows() ? "echo %BOOP%" : "echo $BOOP") @@ -71,3 +82,5 @@ static textstartup void onspawnself() { } } const void *const onspawnself_ctor[] initarray = {onspawnself}; + +#endif /* #if 0 */