diff options
author | hunt <hunt> | 2007-09-12 18:21:55 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-09-12 18:21:55 +0000 |
commit | 674f70a0371c1f97a83c66268d03332ebbf9e62f (patch) | |
tree | d910409c003bc72463253cc7ef0c07bb522721fb /testsuite/systemtap.maps/foreach_limit.exp | |
parent | cf9be511f05d0b310b2c4ce4c050d3707be9e65a (diff) | |
download | systemtap-steved-674f70a0371c1f97a83c66268d03332ebbf9e62f.tar.gz systemtap-steved-674f70a0371c1f97a83c66268d03332ebbf9e62f.tar.xz systemtap-steved-674f70a0371c1f97a83c66268d03332ebbf9e62f.zip |
2007-09-12 Martin Hunt <hunt@redhat.com>
* systemtap.maps/foreach_limit.stp: Clean up the aggregates
section.
* systemtap.maps/foreach_limit2.stp: Remove newline that was
confusing the output match.
* systemtap.maps/linear_bad.exp: Fix expected output.
* systemtap.maps/linear_neg.exp: Ditto.
* systemtap.maps/log.*: New files.
* systemtap.maps/log_edge.*: New files.
* lib/stap_run2.exp (stap_run2): Rewrite. Previous version
was too complex and buggy.
Diffstat (limited to 'testsuite/systemtap.maps/foreach_limit.exp')
-rw-r--r-- | testsuite/systemtap.maps/foreach_limit.exp | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/testsuite/systemtap.maps/foreach_limit.exp b/testsuite/systemtap.maps/foreach_limit.exp index 06e797da..97305c4b 100644 --- a/testsuite/systemtap.maps/foreach_limit.exp +++ b/testsuite/systemtap.maps/foreach_limit.exp @@ -2,7 +2,8 @@ set test "foreach_limit" -set ::result_string {Arrays: +set ::result_string { +Arrays: unsorted: key 9, value 18 key 1, value 40 @@ -71,15 +72,27 @@ loop had 4 iterations x ended up as 5 Aggregates: -64 total aggregate entries +count=150 sum=21360 +min=4 max=600 +value |-------------------------------------------------- count + 1 | 0 + 2 | 0 + 4 |@ 1 + 8 |@@@@@@ 6 + 16 |@@@@@@@@@@@@@ 13 + 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 28 + 64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 39 + 128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 42 + 256 |@@@@@@@@@@@@@@@@@ 17 + 512 |@@@@ 4 + 1024 | 0 + 2048 | 0 -aggregate limit 5: -bucket 0: 0 -bucket 1: 0 -bucket 2: 0 -bucket 3: 1 -bucket 4: 6 -loop had 5 iterations +bucket 67: 1 +bucket 68: 6 +bucket 69: 13 +bucket 70: 28 +loop had 71 iterations Done. } |