summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/equal.exp
blob: eda645d20d3550f6f49ee4523032cb0bda6d1439 (plain)
1
2
3
4
5
6
7
8
9
10
# Simple function to test that equal operation works

load_lib "stap_run.exp"

set test "equal"

# better have a count other than zero to show that probe fired
set output_string "count = \[1-9\]\[0-9\]*\r\ncount2 = \[1-9\]\[0-9\]*\r\nsystemtap test success\r\n"

stap_run $srcdir/$subdir/$test.stp no_load $output_string