work around Dejagnu failure on modern Tcl
authorTom Yu <tlyu@mit.edu>
Tue, 28 Jun 2011 22:11:51 +0000 (22:11 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 28 Jun 2011 22:11:51 +0000 (22:11 +0000)
commit56c85bfd1d748b14a2ace68c79694198468bb9e6
tree2466bd6ad4827d6cbedcf258cbb25ce7a02a4b43
parentc8d693dad9a082d40434a0355c84cade4ff85804
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
src/tests/dejagnu/config/default.exp