Tk Library Source Code

View Ticket
Login
Ticket UUID: 714211
Title: test failure: ncgi module
Type: Bug Version: None
Submitter: patthoyts Created on: 2003-04-02 22:06:06
Subsystem: ncgi Assigned To: welch
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-04-29 05:35:04
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2003-04-28 22:35:04
Description:
Test platform: tcl 8.4.2, intel Windows 2000

Multiple failure in the ncgi tests. I've attached the
failure log as it's fairly large.
User Comments: andreas_kupries added on 2003-04-29 05:35:04:
Logged In: YES 
user_id=75003

Latest discussion was on the Tcl'ers chat.

The file 'formdata.txt' is stored in the CVS with DOS line 
endings, but not declared as binary. This is ok for a unix 
client, as I used, but a Windows client (as used by Pat) will 
convert the CR LF to CR CR LF, and that trips the tests 
because the line endings are now bogus.

The file has now been declared binary (-kb) and things are ok 
on both unix and windows, the latter tested by Pat.

andreas_kupries added on 2003-04-28 23:41:49:
Logged In: YES 
user_id=75003

I tried again and I simply do not get these errors in my Win 
2K box. Used a tclsh 8.4.2, and a tclsh 8.3.4, and ran the 
tests via sak.tcl, like you. No errors.

Pat, may I ask you to investigate deeper into this ? As you 
get the failures and I don't you seem to be in the best place 
to find the problem. ... This seems to be something in the 
multipart scanner. Maybe EOL differences ?

patthoyts added on 2003-04-28 16:32:59:
Logged In: YES 
user_id=202636

Well something strange is going on then because with Windows
2k and tcl 8.4.2 and tcl 8.3.5 I get 4 errors in ncgi-14.3 -
ncgi-14.6

I'm using "tclshXX.exe sak.tcl test ncgi" to run the tests.
I have also tried this using two different machines with
Win2K (although these have pretty much identical installations).

With tclkitsh (tcl version 8.4.1) I get 15 failures but some
of these are  to do with child tclkit's not picking up my
extended auto_path.

andreas_kupries added on 2003-04-26 03:48:32:
Logged In: YES 
user_id=75003

Nothing will/can be done the 1.4 release except if we get a 
reproducible test case. Modding down.

andreas_kupries added on 2003-04-18 07:19:08:
Logged In: YES 
user_id=75003

Hm. I just tried the current tcllib HEAD, tclsh 8.4.2, win 2k, 
and have no errors at all (59 tests, all passed).

I.e. I am unable to repro this

patthoyts added on 2003-04-04 06:07:52:

File Added - 46741: ncgi-failures.txt

Attachments: