svn rev #24999: branches/krb5-1-8/src/tests/dejagnu/config/

tlyu@MIT.EDU tlyu at MIT.EDU
Tue Jun 28 18:11:51 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24999
Commit By: tlyu
Log Message:
ticket: 6926
subject: work around Dejagnu failure on modern Tcl
version_fixed: 1.8.5

Modern releases of Tcl (8.5 and later?) require use the special
procedure "unknown" to implement some autoloading functionality.
Dejagnu replaces "unknown" with its own definition, without chaining
to the original version of "unknown".  This causes "clock format
[clock seconds]" to fail while trying to load the "msgcat" Tcl
package.

Use "exec date" instead of "clock format [clock seconds]" to work
around this bug.

(Also needs pullup to 1.7.)


Changed Files:
U   branches/krb5-1-8/src/tests/dejagnu/config/default.exp
Modified: branches/krb5-1-8/src/tests/dejagnu/config/default.exp
===================================================================
--- branches/krb5-1-8/src/tests/dejagnu/config/default.exp	2011-06-28 22:11:47 UTC (rev 24998)
+++ branches/krb5-1-8/src/tests/dejagnu/config/default.exp	2011-06-28 22:11:51 UTC (rev 24999)
@@ -1619,7 +1619,7 @@
     set spawnid $spawn_id
     set pid [exp_pid]
 
-    set markstr "===MARK $pid [clock format [clock seconds]] ==="
+    set markstr "===MARK $pid [exec date] ==="
     puts $f $markstr
     flush $f
 




More information about the cvs-krb5 mailing list