diff options
author | hunt <hunt> | 2007-10-26 01:06:11 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-10-26 01:06:11 +0000 |
commit | 911d9d8053f60da72391bc73d552ea45b86308dd (patch) | |
tree | 5f9669aaf66a55a86d2d9a4bca091e3b0b578b25 /testsuite/systemtap.printf/printd.exp | |
parent | 70c949c98a4ec9eff552ad1602c7753d46729ec6 (diff) | |
download | systemtap-steved-911d9d8053f60da72391bc73d552ea45b86308dd.tar.gz systemtap-steved-911d9d8053f60da72391bc73d552ea45b86308dd.tar.xz systemtap-steved-911d9d8053f60da72391bc73d552ea45b86308dd.zip |
2007-10-25 Martin Hunt <hunt@redhat.com>
* systemtap.printf/printd.exp: New.
Runs printd.stp and printdln.stp.
* systemtap.printf/printdln.stp: Removed bad tests.
* systemtap.printf/printd.stp: Ditto.
Diffstat (limited to 'testsuite/systemtap.printf/printd.exp')
-rw-r--r-- | testsuite/systemtap.printf/printd.exp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/systemtap.printf/printd.exp b/testsuite/systemtap.printf/printd.exp new file mode 100644 index 00000000..5ba90341 --- /dev/null +++ b/testsuite/systemtap.printf/printd.exp @@ -0,0 +1,20 @@ +# printd and printdln tests + +# both tests have the same result + +set ::result_string {hello world +hello<-->world<-->777 +foo *** bar +foo *** bar *** baz +foo,99 +99,foo +123 456 789 +hello-999 +999-hello +} + +foreach x {"d" "dln"} { + set test "print$x" + stap_run_exact $test $srcdir/$subdir/$test.stp +} + |