# The file tests the PwdCmd.java file.
#
# This file contains a collection of tests for one or more of the Tcl
# built-in commands.  Sourcing this file into Tcl runs the tests and
# generates output for errors.  No output means no errors were found.
#
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# SCCS: @(#) pwdCmd.test 1.2 97/08/13 23:06:41

if {[lsearch [namespace children] ::tcltest] == -1} {
    package require tcltest
    namespace import -force ::tcltest::*
}

# FIXME: These are defined in pwd.test, we should use that !

test PwdCmd-1.1 {cmdProc} {
	catch pwd
} 0
test PwdCmd-1.2 {cmdProc} {
	expr {[string length pwd] > 0}
} 1

# cleanup
::tcltest::cleanupTests
return

