Debian Codegraph @

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

raw
1 set test "optionalprobe"
2 spawn stap -u -p2 -w $srcdir/$subdir/$test.stp
3 expect {
4 -timeout 120
5 -re "# probes\r\n" { exp_continue }
6 -re "^begin" { pass $test }
7 eof { fail $test }
8 timeout { fail "$test unexpected timeout" }
9 }
10 catch {close}; catch {wait}