|
2001-04-20
| ||
| 02:57 | • Ticket [219406ffff] Test suite cannot handle spaces in names status still Cl... artifact: 1b6f70ac1c user: dgp | |
|
2001-04-06
| ||
| 02:27 | • Ticket [219406ffff]: 3 changes artifact: 1d07294e9a user: dgp | |
|
2001-01-12
| ||
| 16:56 | • Closed ticket [219406ffff]. artifact: 1e019838b0 user: dkf | |
|
2000-11-06
| ||
| 23:23 | • Ticket [219406ffff]: 7 changes artifact: ef62340b34 user: dkf | |
|
2000-10-26
| ||
| 05:12 | • New ticket [219406ffff]. artifact: 936e0963ed user: nobody | |
Test suite cannot handle spaces in names
Closed / Fixed219406ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:12:32
OriginalBugID: 6317 Bug
Version: 8.4a1
SubmitDate: '2000-09-27'
LastModified: '2000-10-25'
Severity: MED
Status: UnAssn
Submitter: techsupp
OS: Windows NT
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'
Name:
Jay Schmidgall
ReproducibleScript:
Run the test suite based under a directory with a space in the name.
At a minimum, the pkg, winDDE and winpipe tests have multiple
failures.
ObservedBehavior:
I installed tcl8.4a1 in the directory
C:\Program Files\Tcl\tcl8.4a1
After building tcl, I ran 'nmake -f makefile.vc test' from the directory
C:\Program Files\Tcl\tcl8.4a1\win
and received multiple errors of the form:
==== pkgMkIndex-13.1 proc names with embedded spaces FAILED
==== Contents of test case:
pkgtest::runIndex -lazy $fullPkgPath spacename.tcl
---- Result was:
1 {couldn't change working directory to "C:/Program": no such file or directory}
and
==== 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:
couldn't execute "C:\Program": invalid argument
and
==== winpipe-1.20 32 bit comprehensive tests: write to application FAILED
==== Contents of test case:
set f [open "|$cat32 > stdout" w]
puts -nonewline $f "foo"
catch {close $f} msg
list [contents stdout] $msg
==== Test generated error:
couldn't execute "C:\Program": invalid argument
DesiredBehavior:
I would expect the test suite to handle directory names with spaces
in them better.
dkfplain2000-11-06 23:23:39
The fault is in pkgtest::createIndex where the line reading:
eval pkg_mkIndex $options $dirPath $patternList
should instead read:
eval pkg_mkIndex $options [list $dirPath] $patternList
or even:
eval [list pkg_mkIndex] $options [list $dirPath] $patternList
dkf Closed ticket [219406ffff].
[History diff]2001-01-12 16:56:05
dgp Ticket [219406ffff]: 3 changes
[History diff]2001-04-06 02:27:51
dgp Ticket [219406ffff]: 3 changes
[History diff]2001-04-20 02:57:17
Log in (anonymous is fine) to add a comment.