summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2025-06-28 10:45:43 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2025-06-28 10:45:43 (GMT)
commit269d6061c3ac140fe9fbc376efc58da0df344b3c (patch)
tree3cab18127026df09909941397aa04eef18e5d7be
parent34630d5ca1f72fef8f33793c09548317105e2458 (diff)
downloadtcl-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.test2
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
}