From f192e742632c1359ea04c511730bb22887dcb783 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 28 Mar 2003 23:57:14 +0000 Subject: [PATCH] * default.exp (start_kerberos_daemons): If we get a timeout looking for the mark, log out the last 10 lines of the kdc logfile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15309 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/config/ChangeLog | 6 ++++++ src/tests/dejagnu/config/default.exp | 3 +++ 2 files changed, 9 insertions(+) diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index 980203378..95408ed5d 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -1,3 +1,9 @@ +2003-03-28 Tom Yu + + * default.exp (start_kerberos_daemons): If we get a timeout + looking for the mark, log out the last 10 lines of the kdc + logfile. + 2003-03-26 Tom Yu * default.exp (v4kinit): Expect failure when kiniting to a des3 diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 33a751538..b53f68bed 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -1255,6 +1255,7 @@ proc start_kerberos_daemons { standalone } { set markstr "===MARK $tailf_pid [exec date] ===" set f [open $kdc_lfile a] puts $f $markstr + flush $f close $f expect { @@ -1262,6 +1263,8 @@ proc start_kerberos_daemons { standalone } { -ex "$markstr\r\n" { } -re "\[^\r\n\]*\r\n" { exp_continue } timeout { + verbose -log "tail $kdc_lfile output:" + verbose -log [exec tail $kdc_lfile] if {$standalone} { verbose -log "tail -f timed out ($timeout sec) looking for mark in kdc log" fail "krb5kdc" -- 2.26.2