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.exp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/systemtap.string/str_replace.exp b/testsuite/systemtap.string/str_replace.exp
new file mode 100644
index 00000000..4eedf1c6
--- /dev/null
+++ b/testsuite/systemtap.string/str_replace.exp
@@ -0,0 +1,14 @@
+set test "str_replace"
+
+set ::result_string {Result = hello pointer tap
+Result = pointer system tap
+Result = hello system pointer
+Result = Here I am, on the bored again. there I am, up on the stage, Here I go, playing star again. There I go, turn the page.- Bob Sege
+Result = here I am, on the road again. there I am, up on the stage, here I go, playing star again. There I go, turn the page.- Bob Seger
+Result = Here I am, on the road again. there I am, up on the stage, Here I go, playing star again. There I go, turn the page.- Metallica
+Result = hello tap
+Result = hello system tap
+Result =
+Result = }
+stap_run2 $srcdir/$subdir/$test.stp
+