diff options
author | Tom Yu <tlyu@mit.edu> | 2011-06-28 22:11:51 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2011-06-28 22:11:51 +0000 |
commit | 56c85bfd1d748b14a2ace68c79694198468bb9e6 (patch) | |
tree | 2466bd6ad4827d6cbedcf258cbb25ce7a02a4b43 | |
parent | c8d693dad9a082d40434a0355c84cade4ff85804 (diff) | |
download | krb5-56c85bfd1d748b14a2ace68c79694198468bb9e6.zip krb5-56c85bfd1d748b14a2ace68c79694198468bb9e6.tar.gz krb5-56c85bfd1d748b14a2ace68c79694198468bb9e6.tar.bz2 |
work around Dejagnu failure on modern Tcl
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.)
ticket: 6926
version_fixed: 1.8.5
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-8@24999 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/tests/dejagnu/config/default.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 79afd09..d8390e7 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -1619,7 +1619,7 @@ proc start_tail { fname spawnid_var pid_var which standalone } { 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 |