From ee7369e533d6965f1661b9c5bc174a843b335c6e Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 10 Apr 2007 14:41:39 +0000 Subject: 2007-04-10 Martin Hunt * systemtap.printf/out*: New output tests to stress output buffering and transport. * systemtap.printf/mixed*: More output tests mixing print, printf, and print_char. * systemtap.printf/end*: Test that output from end probes is all sent. --- testsuite/systemtap.printf/out2.stp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testsuite/systemtap.printf/out2.stp (limited to 'testsuite/systemtap.printf/out2.stp') diff --git a/testsuite/systemtap.printf/out2.stp b/testsuite/systemtap.printf/out2.stp new file mode 100644 index 00000000..a6e7a184 --- /dev/null +++ b/testsuite/systemtap.printf/out2.stp @@ -0,0 +1,11 @@ +# output "large_output" pattern using print. + +# This should detect any problems in the print code, output +# buffers or transport. + +probe begin +{ + for (j = 0; j < 3000; j++) + print("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n") + exit() +} -- cgit