os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/tests/pwd.test
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/tests/pwd.test Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,42 @@
1.4 +# Commands covered: pwd
1.5 +#
1.6 +# This file contains a collection of tests for one or more of the Tcl
1.7 +# built-in commands. Sourcing this file into Tcl runs the tests and
1.8 +# generates output for errors. No output means no errors were found.
1.9 +#
1.10 +# Copyright (c) 1991-1993 The Regents of the University of California.
1.11 +# Copyright (c) 1994-1997 Sun Microsystems, Inc.
1.12 +# Copyright (c) 1998-1999 by Scriptics Corporation.
1.13 +#
1.14 +# See the file "license.terms" for information on usage and redistribution
1.15 +# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1.16 +#
1.17 +# RCS: @(#) $Id: pwd.test,v 1.6 2000/04/10 17:19:03 ericm Exp $
1.18 +
1.19 +if {[lsearch [namespace children] ::tcltest] == -1} {
1.20 + package require tcltest
1.21 + namespace import -force ::tcltest::*
1.22 +}
1.23 +
1.24 +test pwd-1.1 {simple pwd} {
1.25 + catch pwd
1.26 +} 0
1.27 +test pwd-1.2 {simple pwd} {
1.28 + expr [string length pwd]>0
1.29 +} 1
1.30 +
1.31 +# cleanup
1.32 +::tcltest::cleanupTests
1.33 +return
1.34 +
1.35 +
1.36 +
1.37 +
1.38 +
1.39 +
1.40 +
1.41 +
1.42 +
1.43 +
1.44 +
1.45 +