Debian Codegraph @

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

raw
1 set test bz1269062
2
3 # Only run on make installcheck
4 if {! [installtest_p]} { untested "$test"; return }
5
6 proc chk_rc {command} {
7 set rc [catch {eval exec "$command"} msg]
8 verbose -log "$msg"
9 if {$rc == 0} { pass "$command" } else { fail "$command" }
10 }
11
12 chk_rc "stap -c sync -e { probe ioscheduler.elv_add_request{ println(elevator_name) exit() } }"
13