| 1 |
set test "str_replace" |
| 2 |
|
| 3 |
set ::result_string {Result = hello pointer tap |
| 4 |
Result = pointer system tap |
| 5 |
Result = hello system pointer |
| 6 |
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 |
| 7 |
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 |
| 8 |
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 |
| 9 |
Result = hello tap |
| 10 |
Result = hello system tap |
| 11 |
Result = |
| 12 |
Result = } |
| 13 |
|
| 14 |
# Expect strings to be cut off if they are too long. |
| 15 |
stap_run2 $srcdir/$subdir/$test.stp -DMAXSTRINGLEN=128 |
| 16 |
|