We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25d94d8 commit 8e8fac9Copy full SHA for 8e8fac9
1 file changed
tests/test_cli.c
@@ -331,6 +331,10 @@ TEST(cli_find_cli_on_path) {
331
write_test_file(fakecli, "#!/bin/sh\n");
332
th_make_executable(fakecli);
333
334
+#ifdef _WIN32
335
+ rmdir(tmpdir);
336
+ SKIP("PATH-based CLI lookup uses POSIX semantics");
337
+#endif
338
const char *raw = getenv("PATH");
339
char *old_path = raw ? strdup(raw) : NULL;
340
cbm_setenv("PATH", tmpdir, 1);
@@ -355,6 +359,10 @@ TEST(cli_find_cli_fallback_paths) {
355
359
if (!cbm_mkdtemp(tmpdir))
356
360
SKIP("cbm_mkdtemp failed");
357
361
362
363
364
+ SKIP("fallback path lookup uses POSIX semantics");
365
358
366
char localbin[512];
367
snprintf(localbin, sizeof(localbin), "%s/.local/bin", tmpdir);
368
test_mkdirp(localbin);
0 commit comments