summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-03-09 02:52:51 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-03-09 02:52:51 (GMT)
commit552d2bb53ff4a8409e72db70f4a3adc89f083b58 (patch)
tree72953b9d1602e5cbcbdf9bacb9579b6f2fc2ccf3
parentc3da6c8fed02c02c3cc9e696107a87a7e004d8e6 (diff)
parent1b7f525ec7630a3c45da390b6cff1362e7f3856e (diff)
downloadtcl-552d2bb53ff4a8409e72db70f4a3adc89f083b58.zip
tcl-552d2bb53ff4a8409e72db70f4a3adc89f083b58.tar.gz
tcl-552d2bb53ff4a8409e72db70f4a3adc89f083b58.tar.bz2
Merge 8.7 - winFCmd-1.24 differs in error code on Win 11
-rw-r--r--tests/winFCmd.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/winFCmd.test b/tests/winFCmd.test
index 5ebce10..3be1920 100644
--- a/tests/winFCmd.test
+++ b/tests/winFCmd.test
@@ -250,8 +250,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 {