File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,10 @@ TEST(cli_find_cli_on_path) {
331331 write_test_file (fakecli , "#!/bin/sh\n" );
332332 th_make_executable (fakecli );
333333
334+ #ifdef _WIN32
335+ rmdir (tmpdir );
336+ SKIP ("PATH-based CLI lookup uses POSIX semantics" );
337+ #endif
334338 const char * raw = getenv ("PATH" );
335339 char * old_path = raw ? strdup (raw ) : NULL ;
336340 cbm_setenv ("PATH" , tmpdir , 1 );
@@ -355,6 +359,10 @@ TEST(cli_find_cli_fallback_paths) {
355359 if (!cbm_mkdtemp (tmpdir ))
356360 SKIP ("cbm_mkdtemp failed" );
357361
362+ #ifdef _WIN32
363+ rmdir (tmpdir );
364+ SKIP ("fallback path lookup uses POSIX semantics" );
365+ #endif
358366 char localbin [512 ];
359367 snprintf (localbin , sizeof (localbin ), "%s/.local/bin" , tmpdir );
360368 test_mkdirp (localbin );
You can’t perform that action at this time.
0 commit comments