Overview
| Artifact ID: | 2491336b85aecf67e75d5457e59f4e0c7464d571 |
|---|---|
| Ticket: | 549600ffffffffffffffffffffffffffffffffff
pkgMkIndex.test fails if wd contains " " |
| User & Date: | kennykb on 2002-04-27 21:20:39 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
If name of the test directory $fullPkgPath contains a space, then six tests fail. The fault is in the test suite and not in the code under test. The attached patch fixes it. Detailed output from the failed tests follows: ==== pkgMkIndex-2.2 simple package - use -direct FAILED ==== Contents of test case: pkgtest::runIndex -direct $fullPkgPath simple.tcl ---- Result was: 0 {{simple:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/simple.tcl}}}} ---- Result should have been (exact matching): 0 {{simple:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/simple.tcl}}} ==== pkgMkIndex-2.2 FAILED ==== pkgMkIndex-2.3 simple package - direct loading is default FAILED ==== Contents of test case: pkgtest::runIndex $fullPkgPath simple.tcl ---- Result was: 0 {{simple:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/simple.tcl}}}} ---- Result should have been (exact matching): 0 {{simple:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/simple.tcl}}} ==== pkgMkIndex-2.3 FAILED ==== pkgMkIndex-4.2 split package - direct loading FAILED ==== Contents of test case: pkgtest::runIndex -direct $fullPkgPath pkg2_a.tcl pkg2_b.tcl ---- Result was: 0 {{pkg2:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_a.tcl} source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_b.tcl}}}} ---- Result should have been (exact matching): 0 {{pkg2:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_a.tcl source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_b.tcl}}} ==== pkgMkIndex-4.2 FAILED ==== pkgMkIndex-6.2 pkg1 requires pkg3 - use -direct FAILED ==== Contents of test case: pkgtest::runIndex -direct $fullPkgPath pkg1.tcl pkg3.tcl ---- Result was: 0 {{pkg1:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg1.tcl}}} {pkg3:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg3.tcl}}}} ---- Result should have been (exact matching): 0 {{pkg1:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg1.tcl}} {pkg3:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg3.tcl}}} ==== pkgMkIndex-6.2 FAILED ==== pkgMkIndex-7.2 pkg4 uses pkg3 - use -direct FAILED ==== Contents of test case: pkgtest::runIndex -direct $fullPkgPath pkg4.tcl pkg3.tcl ---- Result was: 0 {{pkg3:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg3.tcl}}} {pkg4:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg4.tcl}}}} ---- Result should have been (exact matching): 0 {{pkg3:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg3.tcl}} {pkg4:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg4.tcl}}} ==== pkgMkIndex-7.2 FAILED ==== pkgMkIndex-8.2 pkg5 uses pkg2 - use -direct FAILED ==== Contents of test case: pkgtest::runIndex -direct $fullPkgPath pkg5.tcl pkg2_a.tcl pkg2_b.tcl ---- Result was: 0 {{pkg2:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_a.tcl} source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_b.tcl}}} {pkg5:1.0 {source {C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg5.tcl}}}} ---- Result should have been (exact matching): 0 {{pkg2:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_a.tcl source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg2_b.tcl}} {pkg5:1.0 {source C:/Documents and Settings/kevin/My Documents/SourceForge/tcl/tests/pkg/pkg5.tcl}}} ==== pkgMkIndex-8.2 FAILED - foundin changed to: "obsolete: 8.4a4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "39. Package Manager"
- title changed to: "pkgMkIndex.test fails if wd contains " ""
- type changed to: "Bug"