summaryrefslogtreecommitdiffstats
path: root/tests/env.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/env.test')
-rw-r--r--tests/env.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/env.test b/tests/env.test
index d1ead44..f0c1d4a 100644
--- a/tests/env.test
+++ b/tests/env.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: env.test,v 1.20.2.1 2005/07/12 20:37:07 kennykb Exp $
+# RCS: @(#) $Id: env.test,v 1.20.2.2 2005/10/08 13:44:38 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -232,6 +232,13 @@ test env-5.5 {corner cases - cannot have null entries on Windows} {win} {
catch {set env()}
} {1}
+test env-6.1 {corner cases - add lots of env variables} {} {
+ set size [array size env]
+ for {set i 0} {$i < 100} {incr i} {
+ set env(BOGUS$i) $i
+ }
+ expr {[array size env] - $size}
+} 100
# Restore the environment variables at the end of the test.