diff --git a/testsuite/modules.70-maint/210-clear.exp b/testsuite/modules.70-maint/210-clear.exp index 3590784d6..a86a910f8 100644 --- a/testsuite/modules.70-maint/210-clear.exp +++ b/testsuite/modules.70-maint/210-clear.exp @@ -62,8 +62,8 @@ setenv_var __MODULES_LMREFRESH clear/1 setenv_path_var FOO bar set ans [list] -# different result output order is expected on MSYS platform -if {[regexp {^MSYS_NT.*} $tcl_platform(os)]} { +# different result output order is expected on MSYS/CYGWIN platforms +if {[regexp {^(CYGWIN|MSYS_NT).*} $tcl_platform(os)]} { lappend ans [list unset __MODULES_LMVARIANT] lappend ans [list unset __MODULES_LMALTNAME] lappend ans [list unset __MODULES_LMCONFLICT]