summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/linear_large_neg.exp
blob: 470414a31f18417d966ac6990dbd0e72fa3b9123 (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
26
# Test linear histogram with large negative numbers

set test "linear_large_neg"
set ::result_string {count=13
sum=-16700000000
min=-10000000000
max=0
avg=-1284615384
       value |-------------------------------------------------- count
<-1000000000 |@                                                  1
 -1000000000 |@@@@                                               4
  -900000000 |                                                   0
  -800000000 |                                                   0
  -700000000 |                                                   0
  -600000000 |                                                   0
  -500000000 |@@@@@                                              5
  -400000000 |                                                   0
  -300000000 |                                                   0
  -200000000 |                                                   0
  -100000000 |@@                                                 2
           0 |@                                                  1
}

stap_run2 $srcdir/$subdir/$test.stp