# 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.
#
# RCS: @(#) $Id: PwdCmd.test,v 1.1 1998/11/05 19:48:43 hylands Exp $

# Note: This test file must be sourced from the parent directory
#       or else the defs file may not be properly loaded.

if {[string compare test [info procs test]] == 1} then {source defs}

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