summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/poll_map.exp
blob: be999b49af1525b7fdea12c9cf5b7feff7cfb7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set test "poll_map"
if {![installtest_p]} { untested $test; return }

spawn stap -g $srcdir/$subdir/poll_map.stp
set ok 0
expect {
    -timeout 400
    -ex "SUCCESS" { incr ok }
    timeout { fail "$test (timeout)" }
    eof { }
}
closewait
if {$ok == 1} { pass "$test ($ok)" } { fail "$test ($ok)" }