diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-04-21 21:33:24 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-04-21 21:33:24 +0200 |
commit | 31a0ad65c838d0530b321c75c5b328828daa71ac (patch) | |
tree | c38af9df91d8b6459d92a57d7e3e07d814a9dcbe | |
parent | a1e1eec32d27dec37acbc1d65696304abac7ff32 (diff) | |
download | systemtap-steved-31a0ad65c838d0530b321c75c5b328828daa71ac.tar.gz systemtap-steved-31a0ad65c838d0530b321c75c5b328828daa71ac.tar.xz systemtap-steved-31a0ad65c838d0530b321c75c5b328828daa71ac.zip |
Set MAXSTRINGLEN to 133 for uprobes_ustack.exp test on 64 bit.
Needs extra space since on 64bit the last ubacktrace string is
7 entries * (16 hex + 2 for 0x + 1 space) = 133 chars.
Default MAXSTRINGLEN is 128 chars.
* testsuite/systemtap.base/uprobes_ustack.exp: Add -DMAXSTRINGLEN.
-rw-r--r-- | testsuite/systemtap.base/uprobes_ustack.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/uprobes_ustack.exp b/testsuite/systemtap.base/uprobes_ustack.exp index f085fc16..bfc435e9 100644 --- a/testsuite/systemtap.base/uprobes_ustack.exp +++ b/testsuite/systemtap.base/uprobes_ustack.exp @@ -71,7 +71,10 @@ set main 0 set main_func 0 set lib_main 0 set lib_func 0 -spawn stap $srcdir/$subdir/$test.stp -c $testexe +# Needs extra space since on 64bit the last ubacktrace string is +# 7 entries * (16 hex + 2 for 0x + 1 space) = 133 chars. +# Default MAXSTRINGLEN is 128 chars. +spawn stap -DMAXSTRINGLEN=133 $srcdir/$subdir/$test.stp -c $testexe wait expect { |