From dfd8bb34d4d06033c5062ef19f2e5a2f77d5f6c9 Mon Sep 17 00:00:00 2001 From: mmason Date: Tue, 23 Jan 2007 18:03:50 +0000 Subject: Added new string functions tokenize() and strtol(). --- testsuite/systemtap.string/tokenize.exp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 testsuite/systemtap.string/tokenize.exp (limited to 'testsuite/systemtap.string/tokenize.exp') 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 -- cgit