From 2de206d6b209e5e3b518f38c9991e4434940f72e Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Tue, 8 Sep 2009 18:38:14 -0400 Subject: PR10604: check availability for example test cases * testsuite/systemtap.examples/check.exp: Handle with test_support. * testsuite/systemtap.examples/io/iostat-scsi.meta: Add meta-tag test_support. * testsuite/systemtap.examples/memory/mmanonpage.meta: Ditto. * testsuite/systemtap.examples/memory/mmfilepage.meta: Ditto. * testsuite/systemtap.examples/memory/mmreclaim.meta: Ditto. * testsuite/systemtap.examples/memory/mmwriteback.meta: Ditto. * testsuite/systemtap.examples/network/autofs4.meta: Ditto. * testsuite/systemtap.examples/network/dropwatch.meta: Ditto. * testsuite/systemtap.examples/process/schedtimes.meta: Ditto. --- testsuite/systemtap.examples/network/autofs4.meta | 1 + testsuite/systemtap.examples/network/dropwatch.meta | 1 + 2 files changed, 2 insertions(+) (limited to 'testsuite/systemtap.examples/network') diff --git a/testsuite/systemtap.examples/network/autofs4.meta b/testsuite/systemtap.examples/network/autofs4.meta index 16ae7297..c6886e1c 100644 --- a/testsuite/systemtap.examples/network/autofs4.meta +++ b/testsuite/systemtap.examples/network/autofs4.meta @@ -4,5 +4,6 @@ name: autofs4.stp author: Jeff Moyer keywords: network autofs nfs subsystem: network +test_support: stap -l module("autofs4").function("autofs4_lookup"),module("autofs4").function("autofs4_follow_link"),module("autofs4").function("autofs4_expire_indirect").return,module("autofs4").function("autofs4_wait").return test_check: stap -p4 autofs4.stp test_installcheck: stap autofs4.stp -c "sleep 10" diff --git a/testsuite/systemtap.examples/network/dropwatch.meta b/testsuite/systemtap.examples/network/dropwatch.meta index 176ba236..98b23e05 100644 --- a/testsuite/systemtap.examples/network/dropwatch.meta +++ b/testsuite/systemtap.examples/network/dropwatch.meta @@ -9,5 +9,6 @@ exit: user-controlled output: timed scope: system-wide description: Every five seconds the dropwatch.stp script lists the number of socket buffers freed at locations in the kernel. +test_support: stap -l kernel.trace("kfree_skb") test_check: stap -p4 dropwatch.stp test_installcheck: stap dropwatch.stp -c "sleep 1" -- cgit