doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/equal.exp
raw| 1 | # Simple function to test that equal operation works |
| 2 | |
| 3 | set test "equal" |
| 4 | |
| 5 | # better have a count other than zero to show that probe fired |
| 6 | set output_string "count = \[1-9\]\[0-9\]*\r\ncount2 = \[1-9\]\[0-9\]*\r\nsystemtap test success\r\n" |
| 7 | |
| 8 | stap_run $test no_load $output_string $srcdir/$subdir/$test.stp |