summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrmax <rmax>2003-07-24 08:23:39 (GMT)
committerrmax <rmax>2003-07-24 08:23:39 (GMT)
commit81543609e0daf5bb8903f0212a4010db7f41ea6d (patch)
tree33912d63c14f5dd3b648f0a99d69c0ba945f3462 /tests
parentecdb9c008496decbaa68719d08c1c22522fa87af (diff)
downloadtcl-81543609e0daf5bb8903f0212a4010db7f41ea6d.zip
tcl-81543609e0daf5bb8903f0212a4010db7f41ea6d.tar.gz
tcl-81543609e0daf5bb8903f0212a4010db7f41ea6d.tar.bz2
* tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
Diffstat (limited to 'tests')
-rw-r--r--tests/pkgMkIndex.test10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/pkgMkIndex.test b/tests/pkgMkIndex.test
index 104ef8b..985ba47 100644
--- a/tests/pkgMkIndex.test
+++ b/tests/pkgMkIndex.test
@@ -8,7 +8,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: pkgMkIndex.test,v 1.23 2002/07/06 18:19:46 dgp Exp $
+# RCS: @(#) $Id: pkgMkIndex.test,v 1.23.2.1 2003/07/24 08:23:39 rmax Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -285,6 +285,14 @@ test pkgMkIndex-2.3 {simple package - direct loading is default} {
pkgtest::runIndex $fullPkgPath simple.tcl
} "0 {{simple:1.0 {[list source [file join $fullPkgPath simple.tcl]]}}}"
+test pkgMkIndex-2.4 {simple package - use -verbose} -body {
+ pkgtest::runIndex -verbose $fullPkgPath simple.tcl
+} -result "0 {{simple:1.0 {[list source [file join $fullPkgPath simple.tcl]]}}}" \
+ -errorOutput {successful sourcing of simple.tcl
+packages provided were {simple 1.0}
+processed simple.tcl
+}
+
removeFile [file join pkg simple.tcl]
makeFile {