blob: f0e99a8632a768633a25740c5f902482e42089e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# PR 2142+2610
set test "absentstats"
if {![installtest_p]} { untested $test; return }
set ok 0
set ko 0
spawn stap -DMAXERRORS=20 $srcdir/$subdir/$test.stp
# spawn echo hello children 0
expect {
-timeout 150
-re {^ERROR: empty aggregate[^\r]*\r} { incr ko ; exp_continue }
-re {^WARNING: Number of errors} { incr ko ; exp_continue }
-re {^0\r} { incr ok ; exp_continue }
-re {\n} { exp_continue }
eof { }
}
catch close
wait
if {$ok == 2 && $ko == 13} then { pass $test } else { fail "$test ($ok $ko)" }
|