From e0c3d33bf8e0330ac7ff9fbf0c5a58bcc9e7147b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 12 Jan 2005 03:46:51 +0000 Subject: [PATCH] * default.exp (start_kerberos_daemons): Format date internally rather than running "date". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17015 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/config/ChangeLog | 5 +++++ src/tests/dejagnu/config/default.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index 52adce586..b3854e691 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -1,3 +1,8 @@ +2005-01-11 Ken Raeburn + + * default.exp (start_kerberos_daemons): Format date internally + rather than running "date". + 2004-06-17 Tom Yu * default.exp (setup_krb5_conf): Default to not using SRV records diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index ba0bcd0da..7f57ae1cb 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -1387,7 +1387,7 @@ proc start_kerberos_daemons { standalone } { set tailf_spawn_id $spawn_id set tailf_pid [exp_pid] - set markstr "===MARK $tailf_pid [exec date] ===" + set markstr "===MARK $tailf_pid [clock format [clock seconds]] ===" sleep 2 set f [open $kdc_lfile a] puts $f $markstr @@ -1484,7 +1484,7 @@ proc start_kerberos_daemons { standalone } { set tailf_spawn_id $spawn_id set tailf_pid [exp_pid] - set markstr "===MARK $tailf_pid [exec date] ===" + set markstr "===MARK $tailf_pid [clock format [clock seconds]] ===" sleep 2 set f [open $kadmind_lfile a] puts $f $markstr -- 2.26.2