summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.string/str_replace.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.string/str_replace.exp')
-rw-r--r--testsuite/systemtap.string/str_replace.exp4
1 files changed, 3 insertions, 1 deletions
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