summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf/ptr.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.printf/ptr.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.printf/ptr.exp')
-rw-r--r--testsuite/systemtap.printf/ptr.exp6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/systemtap.printf/ptr.exp b/testsuite/systemtap.printf/ptr.exp
index f25a7a02..3eb412a7 100644
--- a/testsuite/systemtap.printf/ptr.exp
+++ b/testsuite/systemtap.printf/ptr.exp
@@ -29,8 +29,7 @@ if {$::tcl_platform(wordSize) == 8} {
0x000001X
0x12345678X
0x12345678abcdef00X
-0x12345678X
-"
+0x12345678X"
} else {
set ::result_string "0x00000000
0x00000001
@@ -60,7 +59,6 @@ if {$::tcl_platform(wordSize) == 8} {
0x000001X
0x12345678X
0xabcdef00X
-0x12345678X
-"
+0x12345678X"
}
stap_run2 $srcdir/$subdir/$test.stp