blob: f9d53052ded25bc769c801ab38d031ed7a2adf11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
set timeout 30
load_lib "helpers.exp"
global spawn_id
global server_id
global hostname
start_client "gss err" gsserr testuser notathena 8 1026 notserver@$hostname
eof_client "gss err" gsserr $spawn_id 2
#
# test: server logged an authentication attempted failed?
#
verbose "gss err: checking server output"
expect {
-i $server_id
-re "rpc_test server: Authent.*failed: .* Wrong princ" {
pass "gss err: server logged auth error"
}
eof { fail "gss err: server exited" }
timeout { fail "gss err: timeout waiting for server output" }
}
flush_server
|