diff options
Diffstat (limited to 'testsuite/systemtap.printf/print_char.stp')
-rw-r--r-- | testsuite/systemtap.printf/print_char.stp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/systemtap.printf/print_char.stp b/testsuite/systemtap.printf/print_char.stp new file mode 100644 index 00000000..0900fe1d --- /dev/null +++ b/testsuite/systemtap.printf/print_char.stp @@ -0,0 +1,16 @@ +# test the print_char function + +probe begin { + endl = 10 + print_char(65) + print_char(66) + print_char(67) + print_char(endl) + + for (i = 65; i < 91; i++) + print_char(i) + print_char(endl) + + + exit() +} |