summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/poll_map.exp
blob: 85687b60a9b4d5cdac1f147172631249f307c1d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 { }
}
catch { close }
wait
if {$ok == 1} { pass "$test ($ok)" } { fail "$test ($ok)" }