This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
systemtap tests case patch
- From: "Mao, Bibo" <bibo dot mao at intel dot com>
- To: "SystemTAP" <systemtap at sources dot redhat dot com>
- Date: Wed, 15 Feb 2006 14:59:57 +0800
- Subject: systemtap tests case patch
Hi,
Now I update systemtap test case patch, and I do not who can help me
check into cvs directory.
Thanks
bibo,mao
diff -Nru tests.org/testsuite/systemtap.samples/queue_demo.exp
tests/testsuite/systemtap.samples/queue_demo.exp
--- tests.org/testsuite/systemtap.samples/queue_demo.exp
2006-02-15 06:41:13.000000000 +0800
+++ tests/testsuite/systemtap.samples/queue_demo.exp 2006-02-15
06:43:29.000000000 +0800
@@ -4,7 +4,7 @@
set ok 0
expect {
-timeout 30
- -ex {block-[^\r]*} { incr ok; exp_continue }
+ -re {block-[^\r]*} { incr ok; exp_continue }
timeout { fail "$test (timeout)" }
eof { }
}
diff -Nru tests.org/testsuite/systemtap.stress/current.stp
tests/testsuite/systemtap.stress/current.stp
--- tests.org/testsuite/systemtap.stress/current.stp 2006-02-15
06:41:13.000000000 +0800
+++ tests/testsuite/systemtap.stress/current.stp 2006-02-15
06:45:59.000000000 +0800
@@ -20,8 +20,13 @@
timer.profile,
%( arch != "x86_64" %?
/* __switch_to.return is broken on x86_64 - see PR2068 */
- kernel.function("__switch_to"),
- kernel.function("__switch_to").return,
+ %( arch!= "ia64" %?
+ /* __switch_to is macro definition in ia64,
+ * and ia64_switch_to is defined in assemble language
+ */
+ kernel.function("__switch_to"),
+ kernel.function("__switch_to").return,
+ %)
%)
/* XXX