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

spawn stap -g $srcdir/$subdir/symbols.stp
set ok 0
expect {
    -timeout 120
    -re { 0x[a-f0-9]+[^\r]*\r} { incr ok; exp_continue }
    timeout { fail "$test (timeout)" }
    eof { }
}
#FIXME does not handle case of hanging symbols.stp correctly
wait
if {$ok == 11} { pass "$test ($ok)" } { fail "$test ($ok)" }