From 1eed9afca1a408fb35e39b9e935011b7b8d3c7ba Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 7 Aug 2009 00:01:04 +0200 Subject: PR10486 Raise default MAXSTRINGLEN. * translate.cxx (translate_pass): Raise MAXSTRINGLEN to 256 for 32bit arches and to 512 for 64bit arches. * testsuite/systemtap.context/backtrace.tcl: Don't set MAXSTRINGLEN. * testsuite/systemtap.exelib/ustack.tcl: Likewise. * testsuite/systemtap.string/str_replace.exp: Explicitly set MAXSTRINGLEN. --- testsuite/systemtap.string/str_replace.exp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuite/systemtap.string/str_replace.exp') diff --git a/testsuite/systemtap.string/str_replace.exp b/testsuite/systemtap.string/str_replace.exp index 4eedf1c6..e6526ef9 100644 --- a/testsuite/systemtap.string/str_replace.exp +++ b/testsuite/systemtap.string/str_replace.exp @@ -10,5 +10,7 @@ Result = hello tap Result = hello system tap Result = Result = } -stap_run2 $srcdir/$subdir/$test.stp + +# Expect strings to be cut off if they are too long. +stap_run2 $srcdir/$subdir/$test.stp -DMAXSTRINGLEN=128 -- cgit