summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-11-18 12:53:50 -0600
committerDavid Smith <dsmith@redhat.com>2009-11-18 12:53:50 -0600
commit02a2d6ca6f9120cc39cc1eb5ffe089b88dd4d818 (patch)
treeccde196592e7379641fde9194e2f3984ead36f1d /testsuite/buildok
parentc3425989053b94d526ab7647eb0ffc260daf4ff2 (diff)
downloadsystemtap-steved-02a2d6ca6f9120cc39cc1eb5ffe089b88dd4d818.tar.gz
systemtap-steved-02a2d6ca6f9120cc39cc1eb5ffe089b88dd4d818.tar.xz
systemtap-steved-02a2d6ca6f9120cc39cc1eb5ffe089b88dd4d818.zip
PR 10981. Fixed buildok/netdev.stp for RHEL5.
* tapset/networking.stp: Made 'netdev.change_rx_flag' and 'netdev.get_stats' optional, since those functions don't exist on RHEL5. * testsuite/buildok/netdev.stp: Ditto.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/netdev.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/buildok/netdev.stp b/testsuite/buildok/netdev.stp
index 49a1eb5c..7e4be82c 100755
--- a/testsuite/buildok/netdev.stp
+++ b/testsuite/buildok/netdev.stp
@@ -1,6 +1,6 @@
#! stap -wp4
-probe netdev.get_stats{
+probe netdev.get_stats ? {
printf("%s", dev_name)
}
@@ -21,7 +21,7 @@ probe netdev.set_promiscuity {
disable, inc)
}
-probe netdev.change_rx_flag {
+probe netdev.change_rx_flag ? {
printf("%s %d", dev_name, flags)
}