summaryrefslogtreecommitdiffstats
path: root/tests/registry.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-21 09:48:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-21 09:48:03 (GMT)
commit0b65aa03a149454b15064d63aa2043fe094d3016 (patch)
tree9bafb3cbf539e33876ca81fe98aebfcd0e9b79c4 /tests/registry.test
parent103201730d4a0d6ae4285eba46066393dc3a831d (diff)
parentcf052af7a9a777686a38795916133d12e938984e (diff)
downloadtcl-0b65aa03a149454b15064d63aa2043fe094d3016.zip
tcl-0b65aa03a149454b15064d63aa2043fe094d3016.tar.gz
tcl-0b65aa03a149454b15064d63aa2043fe094d3016.tar.bz2
[Bug #3362446]: registry keys command fails with 8.5/8.6
Diffstat (limited to 'tests/registry.test')
-rw-r--r--tests/registry.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/registry.test b/tests/registry.test
index 7234a32..400277f 100644
--- a/tests/registry.test
+++ b/tests/registry.test
@@ -505,6 +505,12 @@ test registry-6.20 {GetValue: values with Unicode strings with embedded nulls} {
registry delete HKEY_CURRENT_USER\\TclFoobar
set result
} "foo ba r baz"
+test registry-6.21 {GetValue: very long value names and values} {pcOnly} {
+ registry set HKEY_CURRENT_USER\\TclFoobar [string repeat k 16383] [string repeat x 16383] multi_sz
+ set result [registry get HKEY_CURRENT_USER\\TclFoobar [string repeat k 16383]]
+ registry delete HKEY_CURRENT_USER\\TclFoobar
+ set result
+} [string repeat x 16383]
test registry-7.1 {GetValueNames: bad key} -constraints {win reg english} -setup {
registry delete HKEY_CURRENT_USER\\TclFoobar