diff options
Diffstat (limited to 'testsuite/systemtap.printf/string1.stp')
-rw-r--r-- | testsuite/systemtap.printf/string1.stp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/systemtap.printf/string1.stp b/testsuite/systemtap.printf/string1.stp new file mode 100644 index 00000000..69671620 --- /dev/null +++ b/testsuite/systemtap.printf/string1.stp @@ -0,0 +1,9 @@ +probe begin +{ + s = "Foobar!" + printf("The string is <%s>\n", s); + t = "XYZZY" + printf("%s%s\n",s,t); + printf("%s%s%s%s\n",t,s,t,s); + exit() +} |