Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bc9c277ff8d1521ae7199e636b127728ae6f57fc
Ticket: 760768ffffffffffffffffffffffffffffffffff
Please patch cmdAH.test
User & Date: hgiese on 2003-06-25 20:56:27
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi there,
    being on Win98 I find it a bit annoying to always have
    2 to 3 tests fail because they do not consider this
    platform's quirks - so to say.
    The issue is: On non-NT Windows a file's time stamp
    cannot be to second precise (1 bit is missing), so
    every time stamp is reduced to even seconds.
    Now, if you have a test which introduces a delay of one
    second to see if file time changed, this will fail if
    the file time is expected to be odd.
    
    The changes in the diff file amount to the following:
    - A little proc which waits up the start of even
    second, and which is called in all 3 tests involved
    here (24.2, 24.8, 24-9).
    - 24.2: I also moved the calls to [clock second] behind
    the calls to [close] - close can be an expensive
    opreation, and the new order makes it more probable,
    that the two will get the same value.
    - 24.8, 24.9: I changed the delay from 1100 to 2100.
    
    With these patches all tests pass. I hope, that the
    small additional delay introduced will be acceptable to
    you.
    Best regards
    Helmut Giese
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "hgiese"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "Please patch cmdAH.test"
  11. type changed to: "Patch"