summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/printf.stp
diff options
context:
space:
mode:
authorwcohen <wcohen>2006-01-04 17:00:37 +0000
committerwcohen <wcohen>2006-01-04 17:00:37 +0000
commit64150b1beebfde251ba51cd4fa5d3c79c4620c5e (patch)
tree817083842d4c6b271bb8564a3786aad305db674b /testsuite/buildok/printf.stp
parentaf9ea5eea199993102cf4aae0bcdd83bddedca91 (diff)
downloadsystemtap-steved-64150b1beebfde251ba51cd4fa5d3c79c4620c5e.tar.gz
systemtap-steved-64150b1beebfde251ba51cd4fa5d3c79c4620c5e.tar.xz
systemtap-steved-64150b1beebfde251ba51cd4fa5d3c79c4620c5e.zip
Improve test coverage.
Diffstat (limited to 'testsuite/buildok/printf.stp')
-rwxr-xr-xtestsuite/buildok/printf.stp6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/buildok/printf.stp b/testsuite/buildok/printf.stp
index 2a76a0e9..badea63a 100755
--- a/testsuite/buildok/printf.stp
+++ b/testsuite/buildok/printf.stp
@@ -26,5 +26,9 @@ probe begin
sprintf("%s before %s",
sprint(1), sprint(3)),
sprint("C"))
- printf("\"quote\\this\"")
+ printf("\"quote\\this\"\n")
+ printf("%d is %03o in octal\n", 9, 9)
+ printf("%d is %#X in hex\n", 255, 255)
+ printf("print unsigned %u\n", 17)
+ printf("-% d is % d\n", 9, -9)
}