From 38555b60a2647d88236a922f72741a3f4611ccd2 Mon Sep 17 00:00:00 2001 From: apnadkarni Date: Thu, 9 Mar 2023 02:47:53 +0000 Subject: winFCmd-1.24 has different error code on Win 11 --- tests/winFCmd.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v0.12