summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.string/tokenize.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.string/tokenize.exp')
-rw-r--r--testsuite/systemtap.string/tokenize.exp26
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/systemtap.string/tokenize.exp b/testsuite/systemtap.string/tokenize.exp
new file mode 100644
index 00000000..697b7c7e
--- /dev/null
+++ b/testsuite/systemtap.string/tokenize.exp
@@ -0,0 +1,26 @@
+set test "tokenize"
+set ::result_string {one
+two
+three
+four
+five
+six
+seven
+eight
+nine
+ten
+one|two|three|four|five|six|seven|eight|nine|ten
+a
+b
+c
+d
+e
+f
+g
+1
+2
+3
+
+4
+this is a string with no delimiters}
+stap_run2 $srcdir/$subdir/$test.stp