1 |
jlec 13/03/02 17:49:01 |
2 |
|
3 |
Added: tcllib-1.14-test.patch |
4 |
tcllib-1.15-tcl8.6-test.patch |
5 |
Log: |
6 |
dev-tcltk/tcllib: Fix test, #458454; remove colliding manpages, #458544 |
7 |
|
8 |
(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-tcltk/tcllib/files/tcllib-1.14-test.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcllib/files/tcllib-1.14-test.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcllib/files/tcllib-1.14-test.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: tcllib-1.14-test.patch |
17 |
=================================================================== |
18 |
Index: support/devel/sak/validate/syntax.tcl |
19 |
================================================================== |
20 |
--- support/devel/sak/validate/syntax.tcl |
21 |
+++ support/devel/sak/validate/syntax.tcl |
22 |
@@ -192,11 +192,13 @@ |
23 |
if {[string equal $c rename]} continue |
24 |
if {[string equal $c namespace]} continue |
25 |
interp eval $ip [list ::rename $c {}] |
26 |
} |
27 |
|
28 |
- interp eval $ip [list ::namespace delete ::tcl] |
29 |
+ if {![package vsatisfies [package present Tcl] 8.6]} { |
30 |
+ interp eval $ip [list ::namespace delete ::tcl] |
31 |
+ } |
32 |
interp eval $ip [list ::rename namespace {}] |
33 |
interp eval $ip [list ::rename rename {}] |
34 |
|
35 |
foreach m { |
36 |
pcx::register unknown |
37 |
|
38 |
Index: support/devel/sak/validate/testsuites.tcl |
39 |
================================================================== |
40 |
--- support/devel/sak/validate/testsuites.tcl |
41 |
+++ support/devel/sak/validate/testsuites.tcl |
42 |
@@ -137,11 +137,13 @@ |
43 |
if {[string equal $c rename]} continue |
44 |
if {[string equal $c namespace]} continue |
45 |
interp eval $ip [list ::rename $c {}] |
46 |
} |
47 |
|
48 |
- interp eval $ip [list ::namespace delete ::tcl] |
49 |
+ if {![package vsatisfies [package present Tcl] 8.6]} { |
50 |
+ interp eval $ip [list ::namespace delete ::tcl] |
51 |
+ } |
52 |
interp eval $ip [list ::rename namespace {}] |
53 |
interp eval $ip [list ::rename rename {}] |
54 |
|
55 |
foreach m { |
56 |
testing unknown useLocal useLocalKeep useAccel |
57 |
|
58 |
|
59 |
|
60 |
1.1 dev-tcltk/tcllib/files/tcllib-1.15-tcl8.6-test.patch |
61 |
|
62 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcllib/files/tcllib-1.15-tcl8.6-test.patch?rev=1.1&view=markup |
63 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcllib/files/tcllib-1.15-tcl8.6-test.patch?rev=1.1&content-type=text/plain |
64 |
|
65 |
Index: tcllib-1.15-tcl8.6-test.patch |
66 |
=================================================================== |
67 |
modules/clock/iso8601.test | 5 ++--- |
68 |
modules/doctools/mpformats/_nroff.tcl | 18 ++++++++++-------- |
69 |
modules/doctools/mpformats/fmt.nroff | 4 ++-- |
70 |
modules/doctools/tests/nroff/00 | 8 ++++---- |
71 |
modules/doctools/tests/nroff/01 | 4 ++-- |
72 |
modules/doctools/tests/nroff/02 | 10 +++++----- |
73 |
modules/doctools/tests/nroff/03 | 16 ++++++++-------- |
74 |
modules/doctools/tests/nroff/04 | 8 ++++---- |
75 |
modules/doctools/tests/nroff/05 | 8 ++++---- |
76 |
modules/doctools/tests/nroff/06 | 8 ++++---- |
77 |
modules/doctools/tests/nroff/07 | 8 ++++---- |
78 |
modules/doctools/tests/nroff/08 | 18 +++++++++--------- |
79 |
support/devel/sak/validate/syntax.tcl | 4 +++- |
80 |
support/devel/sak/validate/testsuites.tcl | 4 +++- |
81 |
14 files changed, 64 insertions(+), 59 deletions(-) |
82 |
|
83 |
diff --git a/modules/clock/iso8601.test b/modules/clock/iso8601.test |
84 |
index 85d6416..6fce938 100644 |
85 |
--- a/modules/clock/iso8601.test |
86 |
+++ b/modules/clock/iso8601.test |
87 |
@@ -40,9 +40,8 @@ test clock-iso8601-2.0 {parse_date, bad input} -body { |
88 |
} -returnCodes error -result {not an iso8601 date string} |
89 |
|
90 |
test clock-iso8601-2.1 {parse_date} -body { |
91 |
- clock::iso8601 parse_date 1994-11-05 |
92 |
- # It is unclear if this is influenced by TZ. |
93 |
-} -result 784022400 |
94 |
+ clock format [clock::iso8601 parse_date 1994-11-05] -format %D |
95 |
+} -result 11/05/1994 |
96 |
|
97 |
# ------------------------------------------------------------------------- |
98 |
|
99 |
diff --git a/modules/doctools/mpformats/_nroff.tcl b/modules/doctools/mpformats/_nroff.tcl |
100 |
index be73a02..7669d07 100644 |
101 |
--- a/modules/doctools/mpformats/_nroff.tcl |
102 |
+++ b/modules/doctools/mpformats/_nroff.tcl |
103 |
@@ -15,7 +15,7 @@ |
104 |
|
105 |
|
106 |
proc nr_lp {} {return \n\1.LP} |
107 |
-proc nr_ta {{text {}}} {return ".ta$text"} |
108 |
+proc nr_ta {{text {}}} {return "\1.ta$text"} |
109 |
proc nr_bld {} {return \1\\fB} |
110 |
proc nr_bldt {t} {return "\n\1.B $t\n"} |
111 |
proc nr_ul {} {return \1\\fI} |
112 |
@@ -75,6 +75,7 @@ set finalMap [list \ |
113 |
"\1\\" "\\" \ |
114 |
"\1'" "'" \ |
115 |
"\1." "." \ |
116 |
+ "." "\\&." \ |
117 |
"\\" "\\\\"] |
118 |
global textMap |
119 |
set textMap [list "\\" "\\\\"] |
120 |
@@ -103,8 +104,8 @@ proc nroff_postprocess {nroff} { |
121 |
# - Exceptions to the above: Keep empty lines and leading |
122 |
# whitespace when in verbatim sections (no-fill-mode) |
123 |
|
124 |
- set nfMode [list .nf .CS] ; # commands which start no-fill mode |
125 |
- set fiMode [list .fi .CE] ; # commands which terminate no-fill mode |
126 |
+ set nfMode [list \1.nf \1.CS] ; # commands which start no-fill mode |
127 |
+ set fiMode [list \1.fi \1.CE] ; # commands which terminate no-fill mode |
128 |
set lines [list] ; # Result buffer |
129 |
set verbatim 0 ; # Automaton mode/state |
130 |
|
131 |
@@ -139,7 +140,7 @@ proc nroff_postprocess {nroff} { |
132 |
set lines [lreplace $lines end end] |
133 |
set line "$last $line" |
134 |
} |
135 |
- } elseif {[string match {['.]*} $line]} { |
136 |
+ } elseif {[string match {[']*} $line]} { |
137 |
# Apostrophes or periods at the beginning of a line have to |
138 |
# quoted to prevent misinterpretation as comments or directives. |
139 |
# The true comments and directive are quoted with \1 |
140 |
@@ -166,10 +167,11 @@ proc nroff_postprocess {nroff} { |
141 |
# Remove superfluous .IP commands (empty paragraph). The first |
142 |
# identity mapping is there to avoid smashing a man macro |
143 |
# definition. |
144 |
- set lines [string map [list \ |
145 |
- \n\1.IP\n\1..\n \n\1.IP\n\1..\n \ |
146 |
- \n\1.IP\n\1. \n\1.] \ |
147 |
- $lines] |
148 |
+ |
149 |
+ lappend map \n\1.IP\n\1.\1.\n \n\1.IP\n\1.\1.\n |
150 |
+ lappend map \n\1.IP\n\1. \n\1. |
151 |
+ |
152 |
+ set lines [string map $map $lines] |
153 |
|
154 |
# Return the modified result buffer |
155 |
return [string map $finalMap $lines] |
156 |
diff --git a/modules/doctools/mpformats/fmt.nroff b/modules/doctools/mpformats/fmt.nroff |
157 |
index e844dbf..5230688 100644 |
158 |
--- a/modules/doctools/mpformats/fmt.nroff |
159 |
+++ b/modules/doctools/mpformats/fmt.nroff |
160 |
@@ -269,11 +269,11 @@ proc fmt_image {text {label {}}} { |
161 |
|
162 |
set img [dt_imgdata $text {pic}] |
163 |
if {$img ne {}} { |
164 |
- return \n.PS\n$img\n.PE\n |
165 |
+ return \n\1.PS\n$img\n\1.PE\n |
166 |
} |
167 |
set img [dt_imgdata $text {txt}] |
168 |
if {$img ne {}} { |
169 |
- return \n.PS\n.nf\n$img\n.fi\n.PE\n |
170 |
+ return \n\1.PS\n\1.nf\n$img\n\1.fi\n\1.PE\n |
171 |
} |
172 |
if {$label eq {}} { |
173 |
return "IMAGE: $text" |
174 |
diff --git a/modules/doctools/tests/nroff/00 b/modules/doctools/tests/nroff/00 |
175 |
index 8ac0ebf..8f68ee1 100644 |
176 |
--- a/modules/doctools/tests/nroff/00 |
177 |
+++ b/modules/doctools/tests/nroff/00 |
178 |
@@ -1,15 +1,15 @@ |
179 |
'\" |
180 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
181 |
-'\" Copyright (c) .COPYRIGHT. |
182 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
183 |
+'\" Copyright (c) \&.COPYRIGHT\&. |
184 |
'\" |
185 |
.so man.macros |
186 |
-.TH "TEST" z 3.14.15.926 .MODULE. "" |
187 |
+.TH "TEST" z 3\&.14\&.15\&.926 \&.MODULE\&. "" |
188 |
.BS |
189 |
.SH NAME |
190 |
TEST \- |
191 |
.SH DESCRIPTION |
192 |
.SH COPYRIGHT |
193 |
.nf |
194 |
-Copyright (c) .COPYRIGHT. |
195 |
+Copyright (c) \&.COPYRIGHT\&. |
196 |
|
197 |
.fi |
198 |
\ No newline at end of file |
199 |
diff --git a/modules/doctools/tests/nroff/01 b/modules/doctools/tests/nroff/01 |
200 |
index 3a4563f..588894a 100644 |
201 |
--- a/modules/doctools/tests/nroff/01 |
202 |
+++ b/modules/doctools/tests/nroff/01 |
203 |
@@ -1,9 +1,9 @@ |
204 |
'\" |
205 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
206 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
207 |
'\" Copyright (c) **Copyright** |
208 |
'\" |
209 |
.so man.macros |
210 |
-.TH "TEST" z 3.14.15.926 .MODULE. "" |
211 |
+.TH "TEST" z 3\&.14\&.15\&.926 \&.MODULE\&. "" |
212 |
.BS |
213 |
.SH NAME |
214 |
TEST \- |
215 |
diff --git a/modules/doctools/tests/nroff/02 b/modules/doctools/tests/nroff/02 |
216 |
index 89d6cb7..49fbf18 100644 |
217 |
--- a/modules/doctools/tests/nroff/02 |
218 |
+++ b/modules/doctools/tests/nroff/02 |
219 |
@@ -1,12 +1,12 @@ |
220 |
'\" |
221 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
222 |
-'\" Copyright (c) .COPYRIGHT. |
223 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
224 |
+'\" Copyright (c) \&.COPYRIGHT\&. |
225 |
'\" |
226 |
.so man.macros |
227 |
-.TH "TEST" z 3.14.15.926 .MODULE. "..THE_MODULE.." |
228 |
+.TH "TEST" z 3\&.14\&.15\&.926 \&.MODULE\&. "\&.\&.THE_MODULE\&.\&." |
229 |
.BS |
230 |
.SH NAME |
231 |
-TEST \- ..THE_TITLE.. |
232 |
+TEST \- \&.\&.THE_TITLE\&.\&. |
233 |
.SH SYNOPSIS |
234 |
package require \fBAAA \fR |
235 |
.sp |
236 |
@@ -20,6 +20,6 @@ ELSE, OTHER |
237 |
KEYA, KEYZ |
238 |
.SH COPYRIGHT |
239 |
.nf |
240 |
-Copyright (c) .COPYRIGHT. |
241 |
+Copyright (c) \&.COPYRIGHT\&. |
242 |
|
243 |
.fi |
244 |
\ No newline at end of file |
245 |
diff --git a/modules/doctools/tests/nroff/03 b/modules/doctools/tests/nroff/03 |
246 |
index eb0bdd3..6393ecb 100644 |
247 |
--- a/modules/doctools/tests/nroff/03 |
248 |
+++ b/modules/doctools/tests/nroff/03 |
249 |
@@ -1,9 +1,9 @@ |
250 |
'\" |
251 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
252 |
-'\" Copyright (c) .COPYRIGHT. |
253 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
254 |
+'\" Copyright (c) \&.COPYRIGHT\&. |
255 |
'\" |
256 |
.so man.macros |
257 |
-.TH "TEST" z 3.14.15.926 .MODULE. "" |
258 |
+.TH "TEST" z 3\&.14\&.15\&.926 \&.MODULE\&. "" |
259 |
.BS |
260 |
.SH NAME |
261 |
TEST \- |
262 |
@@ -12,18 +12,18 @@ TEST \- |
263 |
1 |
264 |
.SH BBB |
265 |
22 |
266 |
-.SS BBB.CCC |
267 |
+.SS BBB\&.CCC |
268 |
333 |
269 |
-.SS BBB.DDD |
270 |
+.SS BBB\&.DDD |
271 |
4444 |
272 |
.SH EEE |
273 |
5555 |
274 |
.PP |
275 |
-At \fBAaA\fR. |
276 |
+At \fBAaA\fR\&. |
277 |
.PP |
278 |
-At \fB__undefined__\fR. |
279 |
+At \fB__undefined__\fR\&. |
280 |
.SH COPYRIGHT |
281 |
.nf |
282 |
-Copyright (c) .COPYRIGHT. |
283 |
+Copyright (c) \&.COPYRIGHT\&. |
284 |
|
285 |
.fi |
286 |
\ No newline at end of file |
287 |
diff --git a/modules/doctools/tests/nroff/04 b/modules/doctools/tests/nroff/04 |
288 |
index ee22d7a..27aa037 100644 |
289 |
--- a/modules/doctools/tests/nroff/04 |
290 |
+++ b/modules/doctools/tests/nroff/04 |
291 |
@@ -1,9 +1,9 @@ |
292 |
'\" |
293 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
294 |
-'\" Copyright (c) .COPYRIGHT. |
295 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
296 |
+'\" Copyright (c) \&.COPYRIGHT\&. |
297 |
'\" |
298 |
.so man.macros |
299 |
-.TH "TEST" z 3.14.15.926 .MODULE. "" |
300 |
+.TH "TEST" z 3\&.14\&.15\&.926 \&.MODULE\&. "" |
301 |
.BS |
302 |
.SH NAME |
303 |
TEST \- |
304 |
@@ -27,6 +27,6 @@ Next Line |
305 |
FERTIG |
306 |
.SH COPYRIGHT |
307 |
.nf |
308 |
-Copyright (c) .COPYRIGHT. |
309 |
+Copyright (c) \&.COPYRIGHT\&. |
310 |
|
311 |
.fi |
312 |
\ No newline at end of file |
313 |
diff --git a/modules/doctools/tests/nroff/05 b/modules/doctools/tests/nroff/05 |
314 |
index c25c179..3df0180 100644 |
315 |
--- a/modules/doctools/tests/nroff/05 |
316 |
+++ b/modules/doctools/tests/nroff/05 |
317 |
@@ -1,9 +1,9 @@ |
318 |
'\" |
319 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
320 |
-'\" Copyright (c) .COPYRIGHT. |
321 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
322 |
+'\" Copyright (c) \&.COPYRIGHT\&. |
323 |
'\" |
324 |
.so man.macros |
325 |
-.TH "BASIC" a 5 .MODULE. "" |
326 |
+.TH "BASIC" a 5 \&.MODULE\&. "" |
327 |
.BS |
328 |
.SH NAME |
329 |
BASIC \- |
330 |
@@ -91,6 +91,6 @@ caramel |
331 |
KO |
332 |
.SH COPYRIGHT |
333 |
.nf |
334 |
-Copyright (c) .COPYRIGHT. |
335 |
+Copyright (c) \&.COPYRIGHT\&. |
336 |
|
337 |
.fi |
338 |
\ No newline at end of file |
339 |
diff --git a/modules/doctools/tests/nroff/06 b/modules/doctools/tests/nroff/06 |
340 |
index e7fee7c..10fed25 100644 |
341 |
--- a/modules/doctools/tests/nroff/06 |
342 |
+++ b/modules/doctools/tests/nroff/06 |
343 |
@@ -1,9 +1,9 @@ |
344 |
'\" |
345 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
346 |
-'\" Copyright (c) .COPYRIGHT. |
347 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
348 |
+'\" Copyright (c) \&.COPYRIGHT\&. |
349 |
'\" |
350 |
.so man.macros |
351 |
-.TH "TEST" z 3.14.15.926 .MODULE. "" |
352 |
+.TH "TEST" z 3\&.14\&.15\&.926 \&.MODULE\&. "" |
353 |
.BS |
354 |
.SH NAME |
355 |
TEST \- |
356 |
@@ -50,6 +50,6 @@ c |
357 |
.PP |
358 |
.SH COPYRIGHT |
359 |
.nf |
360 |
-Copyright (c) .COPYRIGHT. |
361 |
+Copyright (c) \&.COPYRIGHT\&. |
362 |
|
363 |
.fi |
364 |
\ No newline at end of file |
365 |
diff --git a/modules/doctools/tests/nroff/07 b/modules/doctools/tests/nroff/07 |
366 |
index 696a715..08ff9ee 100644 |
367 |
--- a/modules/doctools/tests/nroff/07 |
368 |
+++ b/modules/doctools/tests/nroff/07 |
369 |
@@ -1,9 +1,9 @@ |
370 |
'\" |
371 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
372 |
-'\" Copyright (c) .COPYRIGHT. |
373 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
374 |
+'\" Copyright (c) \&.COPYRIGHT\&. |
375 |
'\" |
376 |
.so man.macros |
377 |
-.TH "TEST" z 3.14.15.926 .MODULE. "" |
378 |
+.TH "TEST" z 3\&.14\&.15\&.926 \&.MODULE\&. "" |
379 |
.BS |
380 |
.SH NAME |
381 |
TEST \- |
382 |
@@ -40,6 +40,6 @@ a |
383 |
.PP |
384 |
.SH COPYRIGHT |
385 |
.nf |
386 |
-Copyright (c) .COPYRIGHT. |
387 |
+Copyright (c) \&.COPYRIGHT\&. |
388 |
|
389 |
.fi |
390 |
\ No newline at end of file |
391 |
diff --git a/modules/doctools/tests/nroff/08 b/modules/doctools/tests/nroff/08 |
392 |
index b1bc4ea..50cecb6 100644 |
393 |
--- a/modules/doctools/tests/nroff/08 |
394 |
+++ b/modules/doctools/tests/nroff/08 |
395 |
@@ -1,12 +1,12 @@ |
396 |
'\" |
397 |
-'\" Generated from file '.FILE.' by tcllib/doctools with format 'nroff' |
398 |
+'\" Generated from file '\&.FILE\&.' by tcllib/doctools with format 'nroff' |
399 |
'\" Copyright (c) **Copyright** |
400 |
'\" |
401 |
.so man.macros |
402 |
-.TH "ALL" a 5 .MODULE. "..THE_MODULE.." |
403 |
+.TH "ALL" a 5 \&.MODULE\&. "\&.\&.THE_MODULE\&.\&." |
404 |
.BS |
405 |
.SH NAME |
406 |
-ALL \- ..THE_TITLE.. |
407 |
+ALL \- \&.\&.THE_TITLE\&.\&. |
408 |
.SH SYNOPSIS |
409 |
package require \fBAAA \fR |
410 |
.sp |
411 |
@@ -14,11 +14,11 @@ package require \fBBBB VVV\fR |
412 |
.sp |
413 |
package require \fBCCC ?VVV?\fR |
414 |
.sp |
415 |
-CMDNAME ... |
416 |
+CMDNAME \&.\&.\&. |
417 |
.sp |
418 |
-CMDNAME ... |
419 |
+CMDNAME \&.\&.\&. |
420 |
.sp |
421 |
-CMDNAME ... |
422 |
+CMDNAME \&.\&.\&. |
423 |
.sp |
424 |
.BE |
425 |
.SH DESCRIPTION |
426 |
@@ -75,7 +75,7 @@ DESCRIPTION ::\fBMethod\fR:: |
427 |
TERM |
428 |
DESCRIPTION |
429 |
.TP |
430 |
-CMDNAME ... |
431 |
+CMDNAME \&.\&.\&. |
432 |
DESCRIPTION ::\fBNamespace\fR:: |
433 |
.RS |
434 |
.TP |
435 |
@@ -96,10 +96,10 @@ DESCRIPTION ::?Optional?:: |
436 |
.CE |
437 |
.RE |
438 |
.TP |
439 |
-CMDNAME ... |
440 |
+CMDNAME \&.\&.\&. |
441 |
DESCRIPTION ::\fBPackage\fR:: |
442 |
.TP |
443 |
-CMDNAME ... |
444 |
+CMDNAME \&.\&.\&. |
445 |
DESCRIPTION ::\fBSystemCommand\fR:: |
446 |
.RS |
447 |
.TP |
448 |
diff --git a/support/devel/sak/validate/syntax.tcl b/support/devel/sak/validate/syntax.tcl |
449 |
index 20b7d33..24e06d2 100644 |
450 |
--- a/support/devel/sak/validate/syntax.tcl |
451 |
+++ b/support/devel/sak/validate/syntax.tcl |
452 |
@@ -194,7 +194,9 @@ proc ::sak::validate::syntax::Setup {} { |
453 |
interp eval $ip [list ::rename $c {}] |
454 |
} |
455 |
|
456 |
- interp eval $ip [list ::namespace delete ::tcl] |
457 |
+ if {![package vsatisfies [package present Tcl] 8.6]} { |
458 |
+ interp eval $ip [list ::namespace delete ::tcl] |
459 |
+ } |
460 |
interp eval $ip [list ::rename namespace {}] |
461 |
interp eval $ip [list ::rename rename {}] |
462 |
|
463 |
diff --git a/support/devel/sak/validate/testsuites.tcl b/support/devel/sak/validate/testsuites.tcl |
464 |
index 7072662..71ea694 100644 |
465 |
--- a/support/devel/sak/validate/testsuites.tcl |
466 |
+++ b/support/devel/sak/validate/testsuites.tcl |
467 |
@@ -139,7 +139,9 @@ proc ::sak::validate::testsuites::Setup {} { |
468 |
interp eval $ip [list ::rename $c {}] |
469 |
} |
470 |
|
471 |
- interp eval $ip [list ::namespace delete ::tcl] |
472 |
+ if {![package vsatisfies [package present Tcl] 8.6]} { |
473 |
+ interp eval $ip [list ::namespace delete ::tcl] |
474 |
+ } |
475 |
interp eval $ip [list ::rename namespace {}] |
476 |
interp eval $ip [list ::rename rename {}] |