diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | testsuite/systemtap.printf/char1.exp | 4 | ||||
-rw-r--r-- | testsuite/systemtap.printf/char1.stp | 9 |
3 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 1664f8c2..2ec0fb0e 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-10-20 Elliott Baron <ebaron@redhat.com> + + PR6851 + * systemtap.printf/char1.exp: New test. + 2008-10-10 Frank Ch. Eigler <fche@elastic.org> PR6749. diff --git a/testsuite/systemtap.printf/char1.exp b/testsuite/systemtap.printf/char1.exp new file mode 100644 index 00000000..0e9232e9 --- /dev/null +++ b/testsuite/systemtap.printf/char1.exp @@ -0,0 +1,4 @@ +set test "char1" +set ::result_string {stap +} +stap_run2 $srcdir/$subdir/$test.stp
\ No newline at end of file diff --git a/testsuite/systemtap.printf/char1.stp b/testsuite/systemtap.printf/char1.stp new file mode 100644 index 00000000..d7db1288 --- /dev/null +++ b/testsuite/systemtap.printf/char1.stp @@ -0,0 +1,9 @@ +probe begin +{ + printf("%c", 115) + printf("%c", 116) + printf("%c", 97) + printf("%c", 112) + print("\n") + exit() +}
\ No newline at end of file |