summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-21 11:11:21 -0400
committerDave Brolley <brolley@redhat.com>2009-04-21 11:11:21 -0400
commit623a41aeb47995f6b5790e38f9e0e10959f98b4e (patch)
treee79bd792bfc682f842f804af1c119a751ae18c0c /testsuite/systemtap.printf
parent09fd19d66b9e3318e9e33f604eb2dbe623955123 (diff)
parentd0ea46ceac2e72fe0b86269ea50c004711148158 (diff)
downloadsystemtap-steved-623a41aeb47995f6b5790e38f9e0e10959f98b4e.tar.gz
systemtap-steved-623a41aeb47995f6b5790e38f9e0e10959f98b4e.tar.xz
systemtap-steved-623a41aeb47995f6b5790e38f9e0e10959f98b4e.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.printf')
-rw-r--r--testsuite/systemtap.printf/basic6.exp3
-rw-r--r--testsuite/systemtap.printf/basic6.stp5
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/systemtap.printf/basic6.exp b/testsuite/systemtap.printf/basic6.exp
new file mode 100644
index 00000000..72bf8f57
--- /dev/null
+++ b/testsuite/systemtap.printf/basic6.exp
@@ -0,0 +1,3 @@
+set test "basic6"
+set ::result_string {Hello%World}
+stap_run2 $srcdir/$subdir/$test.stp
diff --git a/testsuite/systemtap.printf/basic6.stp b/testsuite/systemtap.printf/basic6.stp
new file mode 100644
index 00000000..69721188
--- /dev/null
+++ b/testsuite/systemtap.printf/basic6.stp
@@ -0,0 +1,5 @@
+probe begin
+{
+ printf("Hello%%World");
+ exit()
+}