Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e511fb9a55b51fe931e4fbef1b8a2956009d9445
Ticket: 438808ffffffffffffffffffffffffffffffffff
Some error in test suite : cmdAH-16.3
User & Date: rox on 2001-07-05 16:42:09
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Found some problems in the test suit :
    Found on HPUX 11 and 10.20
    
    
    cmdAH.test
    ==== cmdAH-16.3 Tcl_FileObjCmd: readable FAILED
    ==== Contents of test case:
        file readable gorp.file
    ---- Result was:
    1
    ---- Result should have been:
    0
    ==== cmdAH-16.3 FAILED
    
    Corrected by : 
    cmdAH.test.patch
    1013c1013
    < testchmod 444 gorp.file
    ---
    > testchmod 0444 gorp.file
    1017c1017
    < testchmod 333 gorp.file
    ---
    > testchmod 0333 gorp.file
    1027c1027
    < testchmod 555 gorp.file
    ---
    > testchmod 0555 gorp.file
    1031c1031
    < testchmod 222 gorp.file
    ---
    > testchmod 0222 gorp.file
    1052c1052
    <     testchmod 775 gorp.file
    ---
    >     testchmod 0775 gorp.file 
    
    Because in fact, the C command strtol detect itself 
    the base from the 'string' disregarding the 'base'
    parameter ...
    
    So this patch add only 0 in front of the mode so strtol
    detects strings as OctalBased number .
    
    This problem exists in 8.3.3 too.
    
    ---
    Free&ALter Soft
     - Xavier & Damien
    http://www.freealter.com
    
  4. foundin changed to: "obsolete: 8.3.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "rox"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "Some error in test suite : cmdAH-16.3"
  11. type changed to: "Bug"