summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-03-09 02:47:53 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-03-09 02:47:53 (GMT)
commit38555b60a2647d88236a922f72741a3f4611ccd2 (patch)
tree1b11d79396007081f95fcbddc9cc34f13860dd90 /tests
parent7ed7017d94b407f12d57a464cd46a4bf1f2f976b (diff)
downloadtcl-38555b60a2647d88236a922f72741a3f4611ccd2.zip
tcl-38555b60a2647d88236a922f72741a3f4611ccd2.tar.gz
tcl-38555b60a2647d88236a922f72741a3f4611ccd2.tar.bz2
winFCmd-1.24 has different error code on Win 11
Diffstat (limited to 'tests')
-rw-r--r--tests/winFCmd.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/winFCmd.test b/tests/winFCmd.test
index b146253..83dfbf7 100644
--- a/tests/winFCmd.test
+++ b/tests/winFCmd.test
@@ -286,8 +286,9 @@ test winFCmd-1.23 {TclpRenameFile: move dir into self} -setup {
test winFCmd-1.24 {TclpRenameFile: move a root dir} -setup {
cleanup
} -constraints {win testfile} -body {
+ # Error code depends on Windows version
testfile mv / c:/
-} -returnCodes error -result EINVAL
+} -returnCodes error -result {^(EINVAL|ENOENT)$} -match regexp
test winFCmd-1.25 {TclpRenameFile: cross file systems} -setup {
cleanup
} -constraints {win cdrom testfile} -body {