Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c560d8a5a13083f7b2801e600164d573179cfefcc7e16c6c32c22813a6eeaf4f
Ticket: e086622a878acaf6ef8f6bcc2176f53e6a5efcf2
WINE "env" test failures
User & Date: jan.nijtmans on 2025-02-06 11:06:07
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    The following test failures are seen when running Tcl in WINE (on Ubuntu 24.10)
    <pre>
    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
    </pre>
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "WINE "env" test failures"
  16. type changed to: "Bug"