Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-02-06
11:37 • Closed ticket [e086622a87]: WINE "env" test failures plus 6 other ... artifact: 59e239b5e1 user: jan.nijtmans
11:34
Fix [e086622a87]: WINE "env" test failures check-in: 2c3eebb2a5 user: jan.nijtmans tags: trunk, main
11:22 • Ticket [e086622a87] WINE "env" test failures status still Open wit... artifact: 2511388380 user: jan.nijtmans
11:06 • New ticket [e086622a87]. artifact: c560d8a5a1 user: jan.nijtmans

WINE "env" test failures

Closed / Fixede086622a878acaf6ef8f6bcc2176f53e6a5efcf2Created 2 years agoUpdated 2 years ago
Descriptionwiki2025-02-06 11:06:07
The following test failures are seen when running Tcl in WINE (on Ubuntu 24.10)
env.test
==== env-2.1 adding environment variables FAILED
==== Contents of test case:
    getenv
---- Result was:
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
---- Result should have been (exact matching):
==== env-2.1 FAILED
==== env-2.2 adding environment variables FAILED
==== Contents of test case:
    set env(NAME1) "test string"
    getenv
---- Result was:
NAME1=test string
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
---- Result should have been (exact matching):
NAME1=test string
==== env-2.2 FAILED
==== env-2.3 adding environment variables FAILED
==== Contents of test case:
    set env(NAME2) "more"
    getenv
---- Result was:
NAME1=test string
NAME2=more
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
---- Result should have been (exact matching):
NAME1=test string
NAME2=more
==== env-2.3 FAILED
==== env-2.4 adding environment variables FAILED
==== Contents of test case:
    set env(XYZZY) "garbage"
    getenv
---- Result was:
NAME1=test string
NAME2=more
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
XYZZY=garbage
---- Result should have been (exact matching):
NAME1=test string
NAME2=more
XYZZY=garbage
==== env-2.4 FAILED
==== env-3.1 changing environment variables FAILED
==== Contents of test case:
    set result [getenv]
    unset env(NAME2)
    set result
---- Result was:
NAME1=test string
NAME2=new value
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
XYZZY=garbage
---- Result should have been (exact matching):
NAME1=test string
NAME2=new value
XYZZY=garbage
==== env-3.1 FAILED
==== env-4.1 unsetting environment variables FAILED
==== Contents of test case:
    unset -nocomplain env(NAME2)
    getenv
---- Result was:
NAME1=test string
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
XYZZY=garbage
---- Result should have been (exact matching):
NAME1=test string
XYZZY=garbage
==== env-4.1 FAILED
==== env-4.3 setting international environment variables FAILED
==== Contents of test case:
    set env(\ua7) \ub6
    getenv
---- Result was:
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
\u00a7=\u00b6
---- Result should have been (exact matching):
\u00a7=\u00b6
==== env-4.3 FAILED
==== env-4.4 changing international environment variables FAILED
==== Contents of test case:
    set env(\ua7) \ua7
    getenv
---- Result was:
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
\u00a7=\u00a7
---- Result should have been (exact matching):
\u00a7=\u00a7
==== env-4.4 FAILED
==== env-4.5 unsetting international environment variables FAILED
==== Contents of test case:
    set env(\ub6) \ua7
    unset env(\ua7)
    getenv
---- Result was:
WINELOADER=/usr/lib/wine/wine64
WINEUSERLOCALE=en-US
WINEUSERNAME=jboss
\u00b6=\u00a7
---- Result should have been (exact matching):
\u00b6=\u00a7
==== env-4.5 FAILED
error.test
Referenced by1
jan.nijtmanswiki2025-02-06 11:22:13

Other failures, we can take along with it:

winFCmd.test
==== winFCmd-1.15 TclpRenameFile: errno: EEXIST FAILED
==== Contents of test case:
    createfile tf1
    testfile mv tf1 nul
---- Result was:
ENODEV
---- Result should have been (exact matching):
EEXIST
==== winFCmd-1.15 FAILED
==== winFCmd-1.24 TclpRenameFile: move a root dir FAILED
==== Contents of test case:
    # Error code depends on Windows version
    testfile mv / c:/
---- Result was:
EEXIST
---- Result should have been (regexp matching):
^(EINVAL|ENOENT)$
==== winFCmd-1.24 FAILED

jan.nijtmanswiki2025-02-06 11:37:04

Fixed [here]

Log in (anonymous is fine) to add a comment.