diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2025-06-28 10:45:43 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2025-06-28 10:45:43 (GMT) |
| commit | 269d6061c3ac140fe9fbc376efc58da0df344b3c (patch) | |
| tree | 3cab18127026df09909941397aa04eef18e5d7be | |
| parent | 34630d5ca1f72fef8f33793c09548317105e2458 (diff) | |
| download | tcl-269d6061c3ac140fe9fbc376efc58da0df344b3c.zip tcl-269d6061c3ac140fe9fbc376efc58da0df344b3c.tar.gz tcl-269d6061c3ac140fe9fbc376efc58da0df344b3c.tar.bz2 | |
Fix test exec-bug-4f0b5767ac error when MSYS scrubs PATH
| -rw-r--r-- | tests/exec.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exec.test b/tests/exec.test index ac9530f..3205f24 100644 --- a/tests/exec.test +++ b/tests/exec.test @@ -28,7 +28,7 @@ testConstraint noosxCI [expr {![info exists ::env(MAC_CI)]}] # no idea how to check it in GHA programmatically, so simply disable it (todo: rewrite with better check later) if {[testConstraint win] && ![info exists ::env(CI)] && [info exists ::env(LOCALAPPDATA)] && - [file exists [file join $::env(LOCALAPPDATA) "Microsoft" "WindowsApps" "winget.exe"]]} { + [auto_execok winget] ne {}} { testConstraint haveWinget 1 } |
