Debian Codegraph @

testsuite/systemtap.context/symbols.exp

raw
1 set test "symbols"
2 if {![installtest_p]} { untested $test; return }
3
4 spawn stap -g $srcdir/$subdir/symbols.stp
5 set ok 0
6 expect {
7 -timeout 120
8 -re { 0x[a-f0-9]+[^\r]*\r} { incr ok; exp_continue }
9 timeout { fail "$test (timeout)" }
10 eof { }
11 }
12 catch { kill -INT -[exp_pid] 2 }; catch { close }; catch { wait }
13 if {$ok == 11} { pass "$test ($ok)" } { fail "$test ($ok)" }