diff options
author | Barry Jaspan <bjaspan@mit.edu> | 1996-10-21 21:24:56 +0000 |
---|---|---|
committer | Barry Jaspan <bjaspan@mit.edu> | 1996-10-21 21:24:56 +0000 |
commit | 8c421de8fe0df3d25fe42a379f48bb20036b3255 (patch) | |
tree | 4d92233af08ac750196587dfa44c0b9be4662765 /src/kadmin/v4server/unit-test | |
parent | 44720aeaf74c2ef5819c4df17cfc06c187cfb9f2 (diff) | |
download | krb5-8c421de8fe0df3d25fe42a379f48bb20036b3255.tar.gz krb5-8c421de8fe0df3d25fe42a379f48bb20036b3255.tar.xz krb5-8c421de8fe0df3d25fe42a379f48bb20036b3255.zip |
* 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
Diffstat (limited to 'src/kadmin/v4server/unit-test')
-rw-r--r-- | src/kadmin/v4server/unit-test/v4server.1/access.exp | 8 |
1 files 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 f46b960b8c..57ec5040b5 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 {} { |