diff options
| author | ddomingo <ddomingo@redhat.com> | 2008-10-21 16:25:38 +1000 |
|---|---|---|
| committer | ddomingo <ddomingo@redhat.com> | 2008-10-21 16:25:38 +1000 |
| commit | dd09ee8f6048ccb7a998c09926d8442182595292 (patch) | |
| tree | 9903ca81344554b9af7dfb5b1f2e512154b5b066 /testsuite | |
| parent | e9a2c05304d28c9f8d249eca323cbe507dcbdd32 (diff) | |
| parent | fecccf83624c2f09207cd281f9efc272300e8e55 (diff) | |
| download | systemtap-steved-dd09ee8f6048ccb7a998c09926d8442182595292.tar.gz systemtap-steved-dd09ee8f6048ccb7a998c09926d8442182595292.tar.xz systemtap-steved-dd09ee8f6048ccb7a998c09926d8442182595292.zip | |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
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 |
