From 0379c17346059afa8dffb07eef82eaea726be6d2 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 25 Oct 2007 22:22:16 +0000 Subject: 2007-10-25 Martin Hunt * systemtap.printf/print_char.*: New test. * systemtap.printf/print.*: New test. * systemtap.printf/println.*: New test. * systemtap.maps/elision.*: New tests. * config/unix.exp: Added stap_run_exact. * lib/stap_run_exact.exp: New. Like stap_run2 but takes a seperate test name. --- testsuite/systemtap.printf/print_char.stp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testsuite/systemtap.printf/print_char.stp (limited to 'testsuite/systemtap.printf/print_char.stp') 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() +} -- cgit