diff options
-rw-r--r-- | testsuite/systemtap.printf/char1.exp | 4 | ||||
-rw-r--r-- | testsuite/systemtap.printf/char1.stp | 9 |
2 files changed, 13 insertions, 0 deletions
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 |