summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/linear_neg.exp
blob: b1640030831e7728d261294c6115f6236882cf39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# test of histogram with negative interval

set test "linear_neg"

if {![installtest_p]} { untested $test; return }

set ok 0

spawn stap -DMAXACTION=10000 $srcdir/$subdir/$test.stp
expect {
    -timeout 150
   "Number of buckets" {
	incr ok
	exp_continue
    }
    eof { }
}
catch close
wait

if {$ok == 1} { 
    pass $test 
} else { 
    fail $test 
}