doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/at_var_tracepoint.exp
raw| 1 | set test "at_var_tracepoint" |
| 2 | set testpath "$srcdir/$subdir" |
| 3 | |
| 4 | # Check @var() is usable in the kernel tracepoint probes. |
| 5 | set output_string "sys_tz = {.tz_minuteswest=-?\\d+, .tz_dsttime=\\d+}\r\n" |
| 6 | |
| 7 | # Only run on make installcheck |
| 8 | if {! [installtest_p]} { untested "$test"; return } |
| 9 | |
| 10 | stap_run ${test} no_load $output_string ${testpath}/${test}.stp |