Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/poll_map.exp

raw
1 set test "poll_map"
2 if {![installtest_p]} { untested $test; return }
3
4 spawn stap $srcdir/$subdir/poll_map.stp
5 set ok 0
6 expect {
7 -timeout 400
8 -ex "SUCCESS" { incr ok }
9 timeout { fail "$test (timeout)" }
10 eof { }
11 }
12 catch { close }
13 wait
14 if {$ok == 1} { pass "$test ($ok)" } { fail "$test ($ok)" }