From 8c421de8fe0df3d25fe42a379f48bb20036b3255 Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Mon, 21 Oct 1996 21:24:56 +0000 Subject: [PATCH] * v4server.1/access.exp: start kadmin by cd'ing to the directory first, so ps can find the process git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9228 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/v4server/unit-test/v4server.1/access.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kadmin/v4server/unit-test/v4server.1/access.exp b/src/kadmin/v4server/unit-test/v4server.1/access.exp index f46b960b8..57ec5040b 100644 --- a/src/kadmin/v4server/unit-test/v4server.1/access.exp +++ b/src/kadmin/v4server/unit-test/v4server.1/access.exp @@ -17,7 +17,7 @@ proc kill_admin_server {} { } proc start_admin_server {} { - global ovsec_adm_server sleep env + global ovsec_adm_server_path ovsec_adm_server_name sleep env set max_tries 60 @@ -26,15 +26,15 @@ proc start_admin_server {} { exec $sleep 5 verbose "$ovsec_adm_server couldn't bind; retrying ($num_tries so far)" } - if {[catch "exec $ovsec_adm_server" msg]} { + if {[catch "system {cd $ovsec_adm_server_path; exec $ovsec_adm_server_name}" msg]} { if {[regexp {Address already in use} $msg]} { continue } - fail "starting $ovsec_adm_server: $msg" + fail "starting $ovsec_adm_server_name: $msg" } return } - fail "starting $ovsec_adm_server: $msg" + fail "starting $ovsec_adm_server_name: $msg" } proc remove_changepw_perms {} { -- 2.26.2