blob: 93ac21250f5b378e5fa79899b9b52dd1695dcf5e (
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
28
29
|
#
# $Id$
#
verbose "starting test: dotest.sh"
spawn ./dotest.sh
set timeout 60
expect {
-re "error dumping (princ|policy)\.(\[12\])"
{ fail $expect_out(0,string); exp_continue }
-re "export/import (principal|policy) db (failed|succeeded)"
{
if {![string compare $expect_out(2,string) failed]} {
fail $expect_out(0,string)
} else {
pass $expect_out(0,string)
}
exp_continue
}
eof break
timeout { fail "timeout"; close }
}
set w [wait]
verbose "% Exit $w"
|