3 # Test package for pkg_mkIndex.
4 # Does a package require of direct1, whose pkgIndex.tcl entry (in pkg1)
5 # should be a -direct entry.
6 # This tests that pkg_mkIndex can handle code that is sourced in pkgIndex.tcl
9 # Copyright (c) 1998 by Scriptics Corporation.
10 # All rights reserved.
14 package require direct1
16 package provide std 1.0
19 namespace export p1 p2
22 proc std::p1 { stg } {
23 return [string tolower $stg]
26 proc std::p2 { stg } {
27 return [string toupper $stg]