summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf/out1.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.printf/out1.stp')
-rw-r--r--testsuite/systemtap.printf/out1.stp11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/systemtap.printf/out1.stp b/testsuite/systemtap.printf/out1.stp
new file mode 100644
index 00000000..9aa5f0b4
--- /dev/null
+++ b/testsuite/systemtap.printf/out1.stp
@@ -0,0 +1,11 @@
+# output "large_output" pattern using printf.
+
+# This should detect any problems in the printf code, output
+# buffers or transport.
+
+probe begin
+{
+ for (j = 0; j < 3000; j++)
+ printf("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n")
+ exit()
+}