Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fd266213626734074b4e2b4f170d1c42e39cbe94ab3a7cad14ff56ab87219294
Ticket: 5d70d14a092160d19d913d8fa2b36a01e1c3a9b4
tcltest: test result differs for different singleproc values
User & Date: anonymous on 2025-01-12 07:19:54
Changes

  1. icomment:
    Sorry, I didn't make it clear that the test file should be saved in utf-8 encoding.
    
    C:\Temp>tclsh
    % encoding system
    cp1251
    
    C:\Temp>file utf-8.test
    utf-8.test: Tcl script, Unicode text, UTF-8 text, with CRLF line terminators
    
    My system encoding is cyrillic cp1251 but the test with cyrillic chars also failed
    
    --- utf-8.test ---
    package require tcltest 2.5
    
    ::tcltest::test notascii_cyr {string corrupted when singleproc == 0} {
        string length "іїє"
    } 3
    ------------------
    
    ==== notascii_cyr string corrupted when singleproc == 0 FAILED
    ==== Contents of test case:
    
        string length "їіє"
    
    ---- Result was:
    6
    ---- Result should have been (exact matching):
    3
    ==== notascii_cyr FAILED
    
  2. login: "anonymous"
  3. mimetype: "text/plain"