diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-03-20 19:47:47 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-03-20 19:47:47 (GMT) |
commit | 1e14587ab8671097dbf480b432c3088434d59bef (patch) | |
tree | ce9d5cd779d10bbf2badad2b903cd4a511df71ce /tests/lset.test | |
parent | abd93fef6a71368ac43d2e09eb707057229bf8e4 (diff) | |
download | tcl-1e14587ab8671097dbf480b432c3088434d59bef.zip tcl-1e14587ab8671097dbf480b432c3088434d59bef.tar.gz tcl-1e14587ab8671097dbf480b432c3088434d59bef.tar.bz2 |
2007-03-20 Kevin B. Kenny <kennykb@acm.org>
* generic/tclDate.c: Rebuilt, despite Donal Fellows's comment when
committing it that no rebuild was required.
* generic/tclGetDate.y: According to Donal Fellows, "Introduce
modern formatting standards; no need for rebuild of tclDate.c."
* library/tzdata/America/Cambridge_Bay:
* library/tzdata/America/Havana:
* library/tzdata/America/Inuvik:
* library/tzdata/America/Iqaluit:
* library/tzdata/America/Pangnirtung:
* library/tzdata/America/Rankin_Inlet:
* library/tzdata/America/Resolute:
* library/tzdata/America/Yellowknife:
* library/tzdata/Asia/Choibalsan:
* library/tzdata/Asia/Dili:
* library/tzdata/Asia/Hovd:
* library/tzdata/Asia/Jakarta:
* library/tzdata/Asia/Jayapura:
* library/tzdata/Asia/Makassar:
* library/tzdata/Asia/Pontianak:
* library/tzdata/Asia/Ulaanbaatar:
* library/tzdata/Europe/Istanbul: Upgraded to Olson's tzdata2007d.
* generic/tclListObj.c (TclLsetList, TclLsetFlat):
* tests/lset.test: Changes to deal with shared internal
representation for lists passed to the [lset] command. Thanks to
Don Porter for fixing this issue. [Bug 1677512]
Diffstat (limited to 'tests/lset.test')
-rw-r--r-- | tests/lset.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/lset.test b/tests/lset.test index e6ff04c..872047b 100644 --- a/tests/lset.test +++ b/tests/lset.test @@ -390,6 +390,23 @@ test lset-14.2 {lset, not compiled, flat args, is string rep preserved?} testeva list $a [lindex $a 1] } "{ { 1 2 } { 3 4 } } { 3 4 }" +testConstraint testobj [llength [info commands testobj]] +test lset-15.1 {lset: shared intrep [Bug 1677512]} -setup { + teststringobj set 1 {{1 2} 3} + testobj convert 1 list + testobj duplicate 1 2 + variable x [teststringobj get 1] + variable y [teststringobj get 2] + testobj freeallvars + set l [list $y z] + unset y +} -constraints testobj -body { + lset l 0 0 0 5 + lindex $x 0 0 +} -cleanup { + unset -nocomplain x l +} -result 1 + catch {unset noRead} catch {unset noWrite} catch {rename failTrace {}} |