From 911d9d8053f60da72391bc73d552ea45b86308dd Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 26 Oct 2007 01:06:11 +0000 Subject: 2007-10-25 Martin Hunt * systemtap.printf/printd.exp: New. Runs printd.stp and printdln.stp. * systemtap.printf/printdln.stp: Removed bad tests. * systemtap.printf/printd.stp: Ditto. --- testsuite/systemtap.printf/printd.exp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testsuite/systemtap.printf/printd.exp (limited to 'testsuite/systemtap.printf/printd.exp') 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 +} + -- cgit