diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-20 07:38:45 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-20 07:38:45 (GMT) |
| commit | 7292f02dfae72464126b19159d63ee46908c55e1 (patch) | |
| tree | a118025ed3715c63f5d05334ea13f7686da38d3f | |
| parent | d81e6baf7a00fdabada9060723575549b70a5828 (diff) | |
| download | tcl-7292f02dfae72464126b19159d63ee46908c55e1.zip tcl-7292f02dfae72464126b19159d63ee46908c55e1.tar.gz tcl-7292f02dfae72464126b19159d63ee46908c55e1.tar.bz2 | |
add test case for very long value names and values
| -rw-r--r-- | tests/registry.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/registry.test b/tests/registry.test index 85b4f42..a3bc891 100644 --- a/tests/registry.test +++ b/tests/registry.test @@ -458,6 +458,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} {pcOnly english} { registry delete HKEY_CURRENT_USER\\TclFoobar |
