summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/network
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2009-09-08 18:38:14 -0400
committerWenji Huang <wenji.huang@oracle.com>2009-09-08 18:38:14 -0400
commit2de206d6b209e5e3b518f38c9991e4434940f72e (patch)
tree0c1908efd5c766726940b8ac26b5e343bf573a1e /testsuite/systemtap.examples/network
parente13354499dbd1f854040bc120bdfd1d0fc9ff6b3 (diff)
downloadsystemtap-steved-2de206d6b209e5e3b518f38c9991e4434940f72e.tar.gz
systemtap-steved-2de206d6b209e5e3b518f38c9991e4434940f72e.tar.xz
systemtap-steved-2de206d6b209e5e3b518f38c9991e4434940f72e.zip
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.
Diffstat (limited to 'testsuite/systemtap.examples/network')
-rw-r--r--testsuite/systemtap.examples/network/autofs4.meta1
-rw-r--r--testsuite/systemtap.examples/network/dropwatch.meta1
2 files changed, 2 insertions, 0 deletions
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"