Artifacts Associated With Ticket 219239
Ticket change [edd6df6c54] (rid 103968) by nobody on 2000-10-26 05:04:00:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 4837 Bug Version: 8.3 SubmitDate: '2000-04-04' LastModified: '2000-05-10' Severity: LOW Status: Assigned Submitter: techsupp ChangedBy: hobbs OS: Windows 2000 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: David Gravereaux CVS: updated 4/3/00 (today) Comments: I haven't ran the tests on NT4 or any other Win32 OS to compare and see if this is an isolated Win2K thing. ReproducibleScript: nmake -f makefile.vc test > failures.txt ObservedBehavior: ==== exec-2.6 redirecting input from immediate source, with UTF FAILED ==== Contents of test case: # If this fails, it may give back: # "\uC3\uA9\uC3\uA0\uC3\uBC\uC3\uB1" # If it does, this means that the UTF -> external conversion did not # occur before writing out the temp file. exec $::tcltest::tcltest cat << "\uE9\uE0\uFC\uF1" ---- Result was: éàüñ ---- Result should have been: éàüñ ==== exec-2.6 FAILED ==== winDde-4.2 DDE execute remotely FAILED ==== Contents of test case: set a "" set child [createChildProcess child] dde execute -async TclEval child {set a "foo"} dde execute TclEval child {set done 1} set a ==== Test generated error: remote interpreter did not respond ---- Result should have been: ==== winDde-4.2 FAILED winFCmd.test ==== winFCmd-1.13 TclpRenameFile: errno: EACCES FAILED ==== Contents of test case: cleanup list [catch {testfile mv nul tf1} msg] $msg ---- Result was: 1 EINVAL ---- Result should have been: 1 EACCES ==== winFCmd-1.13 FAILED ==== winFCmd-1.19 TclpRenameFile: errno == EACCES FAILED ==== Contents of test case: cleanup list [catch {testfile mv nul tf1} msg] $msg ---- Result was: 1 EINVAL ---- Result should have been: 1 EACCES ==== winFCmd-1.19 FAILED ==== winFCmd-2.8 TclpCopyFile: errno: EACCES FAILED ==== Contents of test case: cleanup list [catch {testfile cp nul tf1} msg] $msg ---- Result was: 1 EINVAL ---- Result should have been: 1 EACCES ==== winFCmd-2.8 FAILED DesiredBehavior: no failures The first problem was fixed in 8.3.1, but the others need to be examined on Win2K. -- 05/10/2000 hobbs - foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "85. tclconfig"
- title initialized to: "some test failures on Win2K"
- type initialized to: "Bug"
Ticket change [eb0c86a0f8] (rid 103470) by dkf on 2001-02-07 22:11:57:
- icomment:
Most of these a failures in winFCmd.test
- login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "37. File System"
- username: "dkf"
- icomment:
Ticket change [d39481857e] (rid 123317) by nobody on 2001-08-17 22:49:20:
- icomment:
Logged In: NO All of these failures occur when TclpRenameFile or TclpCopyFile (in tclWinFCmd.c) are called with a first argument of a file that doesn't exist (the 'nul' above). Hence they all most likely indicate a single root cause of the problem. They all still occur in Tcl 8.4a4. Unfortunately I don't have a Win95/98/NT machine on which to examine the behaviour and see how the code is supposed to behave...
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [62781f0773] (rid 92407) by vincentdarley on 2001-08-29 18:35:17:
- icomment:
Logged In: YES user_id=32170 I've put a suggested fix for this in the 'fs remove obsolete private APIs' patch. The patch basically consists in converting 'EINVAL' errors 'to 'EACCES'. This means the test-suite now passes, but I don't know whether there are bad side-effects....
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [a1bb7aa2b6] (rid 109777) by hobbs on 2001-08-30 06:32:37:
- assignee changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=72656 I don't think you want to generically convert all EINVAL to EACCESS. I think it would be better to correct the tests. Since we are only *simulating* posix behavior in many cases on Windows, the only important thing there is that an error did occur.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
Ticket change [30ac256686] (rid 93298) by vincentdarley on 2001-08-30 15:33:32:
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=32170 Of course an error is the most important thing, and the script-level tests all pass either way. I won't change the C behaviour then. Probably the easiest solution is to duplicate those tests, marking them '95' or 'nt' and changing the desired result appropriately (there are quite a few tests which seem to have adopted this approach). I'll leave that to someone who has more than one platform they can test this stuff out on.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
Ticket change [d9c312f22a] (rid 107668) by vincentdarley on 2001-09-05 01:07:52:
- closedate changed to: "2001-09-04T18:07:52"
- closer changed to: "vincentdarley"
- resolution changed to: "Fixed"
- status changed to: "Closed"