diff options
| author | Tom Yu <tlyu@mit.edu> | 2000-02-07 23:51:13 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 2000-02-07 23:51:13 +0000 |
| commit | 2549b2f4bf8dd88f4e911c90f472f4ec3e04a8ef (patch) | |
| tree | fd198f2983bfc3a472317923e37ddd470796c983 /src/lib/rpc/unit-test/config | |
| parent | da082d49caa9f84817f9ae16f746abb8f422a49c (diff) | |
| download | krb5-2549b2f4bf8dd88f4e911c90f472f4ec3e04a8ef.tar.gz krb5-2549b2f4bf8dd88f4e911c90f472f4ec3e04a8ef.tar.xz krb5-2549b2f4bf8dd88f4e911c90f472f4ec3e04a8ef.zip | |
* config/unix.exp: Call send_error instead of fail to prevent
referencing variables not yet set up by the test framework.
* lib/helpers.exp: Call kinit and kdestroy with the -5 flag to
deal with new program behavior. Also call perror rather than
error to avoid spewing a stack trace.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12021 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/unit-test/config')
| -rw-r--r-- | src/lib/rpc/unit-test/config/unix.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/rpc/unit-test/config/unix.exp b/src/lib/rpc/unit-test/config/unix.exp index e26621674..fe6dd036b 100644 --- a/src/lib/rpc/unit-test/config/unix.exp +++ b/src/lib/rpc/unit-test/config/unix.exp @@ -65,11 +65,11 @@ proc rpc_test_start { } { expect { "running" { } eof { - fail "server exited!" + send_error "server exited!" verbose $expect_out(buffer) 1 } timeout { - fail "server didn't start in $timeout seconds" + send_error "server didn't start in $timeout seconds" verbose $expect_out(buffer) 1 } } |
