diff options
author | hunt <hunt> | 2006-08-21 16:39:35 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-08-21 16:39:35 +0000 |
commit | fc98aa95b304065ebbf8beb77699d7b686591259 (patch) | |
tree | 6de0c75a45af70b7d3ceba77ef62c2dfaa0b756f /testsuite/systemtap.string/substr.exp | |
parent | 8267555c5fefa23a30988e3327c4aaeeed662c54 (diff) | |
download | systemtap-steved-fc98aa95b304065ebbf8beb77699d7b686591259.tar.gz systemtap-steved-fc98aa95b304065ebbf8beb77699d7b686591259.tar.xz systemtap-steved-fc98aa95b304065ebbf8beb77699d7b686591259.zip |
New tests for string functions.
Diffstat (limited to 'testsuite/systemtap.string/substr.exp')
-rw-r--r-- | testsuite/systemtap.string/substr.exp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/systemtap.string/substr.exp b/testsuite/systemtap.string/substr.exp new file mode 100644 index 00000000..ee906e5e --- /dev/null +++ b/testsuite/systemtap.string/substr.exp @@ -0,0 +1,19 @@ +load_lib "stap_run2.exp" +set test "substr" +set ::result_string {Hello World! +0,0: +-1,10: +10,0: +0,1: H +1,1: e +2,1: l +2,5: llo W +6,1: W +11,1: ! +11,100: ! +12,1: +0,10: Hello Worl +0,100: Hello World! +0,100000: Hello World! +} +stap_run2 $srcdir/$subdir/$test.stp |