|
2012-07-27
| ||
| 16:07 | • Closed ticket [3545366fff]: Win32 link normalization test failures plus 6 ot... artifact: bfba259b09 user: twylite | |
|
2012-07-19
| ||
| 22:15 | • Ticket [3545366fff]: 4 changes artifact: af94317987 user: nijtmans | |
| 21:00 | • Ticket [3545366fff]: 4 changes artifact: 8960bb3563 user: twylite | |
| 20:38 | • Pending ticket [3545366fff]. artifact: c5b6ca31a1 user: nijtmans | |
| 20:10 | • Ticket [3545366fff]: 4 changes artifact: 67698f974b user: dgp | |
| 19:59 | • Ticket [3545366fff]: 4 changes artifact: dd63d17daf user: nijtmans | |
| 19:41 | • Ticket [3545366fff]: 4 changes artifact: c9f9a4d044 user: nijtmans | |
| 19:19 | • Ticket [3545366fff]: 2 changes artifact: 8ae3b41491 user: dgp | |
| 19:19 | • Ticket [3545366fff]: 4 changes artifact: 9c1c9ede64 user: dgp | |
| 13:34 | fix bug [3545366]: Win32 link normalization test failures check-in: 1a73a32709 user: jan.nijtmans tags: trunk | |
|
2012-07-18
| ||
| 11:54 | • New ticket [3545366fff] Win32 link normalization test failures. artifact: 37037e2f69 user: twylite | |
Win32 link normalization test failures
Closed / Fixed3545366fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-07-18 11:54:50
Hi,
Link normalization tests fail on WIN32 in a trunk build from 2012/07/18 using MSVC10, 32-bit tclsh running on Windows 7 64-bit.
Details:
Build setup (32-bit): 'Setting environment for using Microsoft Visual Studio 2010 x86 tools'
Testing platform: Windows 7 (64-bit), PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
C:\User\Tcl_BUILD\cmake-2012\tcl-trunk>fossil pull
Server: http://core.tcl.tk/tcl
C:\User\Tcl_BUILD\cmake-2012\tcl-trunk>fossil update
updated-to: f0f8f508748b68a589768e9e7df3beea28279df9 2012-07-17 13:08:18 UTC
tags: trunk
Build commands:
set BUILDENV=VC10
set VER=86b3
set INSTALLDIR=%CD%\Release_%VER%_%BUILDENV%
set OPTS=threads
set TCLSH=%INSTALLDIR%\bin\tclsh86t.exe
mkdir %INSTALLDIR%
pushd win
nmake /f makefile.vc release tcltest OPTS=%OPTS% CFG_ENCODING=\\\"utf-8\\\" INSTALLDIR=%INSTALLDIR%
nmake /f makefile.vc install OPTS=%OPTS% CFG_ENCODING=\\\"utf-8\\\" INSTALLDIR=%INSTALLDIR%
nmake /f makefile.vc test
==== filesystem-1.3 link normalisation FAILED
==== Contents of test case:
testPathEqual [file normalize [file join dir.dir foo]] [file normalize [fil
e join dir.link foo]]
---- Result was:
not equal: C:/User/Tcl_BUILD/cmake-2012/tcl-trunk/win/dir.dir/foo C:/User/Tcl_BU
ILD/cmake-2012/tcl-trunk/win/dir.link/foo
---- Result should have been (exact matching):
ok
==== filesystem-1.3 FAILED
==== filesystem-1.4 link normalisation FAILED
==== Contents of test case:
testPathEqual [file normalize [file join dir.dir inside.file]] [file normal
ize [file join dir.link inside.file]]
---- Result was:
not equal: C:/User/Tcl_BUILD/cmake-2012/tcl-trunk/win/dir.dir/inside.file C:/Use
r/Tcl_BUILD/cmake-2012/tcl-trunk/win/dir.link/inside.file
---- Result should have been (exact matching):
ok
==== filesystem-1.4 FAILED
==== filesystem-1.39 file normalisation with volume relative FAILED
==== Contents of test case:
set drv C:/
cd [lindex [glob -type d -dir $drv *] 0]
file norm [string range $drv 0 1]
---- Result was:
C:/AMD
---- Result should have been (glob matching):
*[^/]
==== filesystem-1.39 FAILED
dgpplain2012-07-19 19:19:54
Are these new failures? Do we know since when?
dgp Ticket [3545366fff]: 2 changes
[History diff]2012-07-19 19:19:55
nijtmansplain2012-07-19 19:41:06
filesystem-1.[34] is failing since [40f723e2c0], since 2008-07-21. Dup of Bug #3075027 For filesystem-1.39, I don't know, but I suspect it happens only on WoW64. In other words: not critical at all for 8.5.12 IMHO
nijtmansplain2012-07-19 19:59:34
Just ran filesystem.test in current core-8-5-12-rc, but I cannot reproduce the filesystem-1.39 failure any more. I've seen it in the past. Maybe the earlier failing fCmd.test left something behind that caused this. However I suggest to close this as dup of #3075027. (8.4, 8.5 and trunk all have this)
dgpplain2012-07-19 20:10:01
It looks like test filesystem-1.39 is just broken. The test is using glob matching, but the [^...] syntax is regexp. [string match] doesn't do that. This test always fails, right??
nijtmansplain2012-07-19 20:38:39
Now I know why I sometimes see it, sometimes not.
8.6 had the filesystem-1.39 failure, 8.5 didn't have it.
Anyway, fixed it in trunk now, and tested it on Windows 7.
>This test always fails, right??
Yes, it did in 8.6, but not any more.
The remaining 2 failures are dup of #3075027
Great!
Jan Nijtmans
twyliteplain2012-07-19 21:00:26
Is the result of [file norm c:] meant to be the working directory? The behaviour I get is as follows: - cd c:/AMD - file norm c: --> C:/AMD - cd t:/scratch - file norm c: --> C:/ - file norm t: --> T:/scratch Is this correct?
nijtmansplain2012-07-19 22:15:23
>Is the result of [file norm c:] meant to be the working directory?
On Windows, each drive has its own working directory, Tcl
only has a single global working directory. Therefore
the behavior is not 100% what people would expect,
but it's the current behavior of tclsh.
Compare with:
=======================
C:\>cd c:\AMD
c:\AMD>dir c:
Directory of c:\AMD
19-07-2012 17:07 <DIR> .
19-07-2012 17:07 <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 445.538.279.424 bytes free
c:\AMD>cd t:\scratch
c:\AMD>dir c:
Directory of c:\AMD
19-07-2012 17:07 <DIR> .
19-07-2012 17:07 <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 445.538.197.504 bytes free
c:\AMD>dir t:
Directory of t:\scratch
19-07-2012 17:07 <DIR> .
19-07-2012 17:07 <DIR> ..
0 File(s) 12.288 bytes
2 Dir(s) 714.899.456 bytes free
c:\AMD>
twyliteplain2012-07-27 16:07:48
Fix tested and confirmed. Remaining failures filesystem-1.3 and filesystem-1.4 will be handled in #3075027.
Log in (anonymous is fine) to add a comment.