summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/foreach_foreach.exp
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-03-08 23:23:35 +0100
committerMark Wielaard <mjw@redhat.com>2009-03-09 10:14:11 +0100
commit1d4cb9b5f957bd3825fd1f0cfa1df1c24a07164d (patch)
tree373f0d1e899860c03b52aa9f1585341d7d7c4125 /testsuite/systemtap.maps/foreach_foreach.exp
parentda573399d560fc659ee45ae041dcb2bf5b9b0bf6 (diff)
downloadsystemtap-steved-1d4cb9b5f957bd3825fd1f0cfa1df1c24a07164d.tar.gz
systemtap-steved-1d4cb9b5f957bd3825fd1f0cfa1df1c24a07164d.tar.xz
systemtap-steved-1d4cb9b5f957bd3825fd1f0cfa1df1c24a07164d.zip
Make stap_run2 count exact number of lines.
* testsuite/lib/stap_run2.exp: Compare found and expected number of lines. * testsuite/systemtap.*/*.exp (result_string): Make number of lines exact.
Diffstat (limited to 'testsuite/systemtap.maps/foreach_foreach.exp')
-rw-r--r--testsuite/systemtap.maps/foreach_foreach.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/systemtap.maps/foreach_foreach.exp b/testsuite/systemtap.maps/foreach_foreach.exp
index f79d290a..07a2d871 100644
--- a/testsuite/systemtap.maps/foreach_foreach.exp
+++ b/testsuite/systemtap.maps/foreach_foreach.exp
@@ -114,8 +114,7 @@ bar[21] = 9261
bar[22] = 10648
bar[23] = 12167
bar[24] = 13824
-foo[10] = 100
-}
+foo[10] = 100}
stap_run2 $srcdir/$subdir/$test.stp