From 605a7f8295bf5e4125c9a94f92f9a392335d81f4 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 5 Nov 2013 11:16:16 -0500 Subject: [PATCH] don't test uprobes_filtering.exp on RHEL5/6 We don't want to run this test on RHEL5/6, where we compile our own uprobes module (there's no filtering possible anyway, since these kernels don't support UPROBE_HANDLER_REMOVE). --- testsuite/systemtap.base/uprobes_filtering.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/systemtap.base/uprobes_filtering.exp b/testsuite/systemtap.base/uprobes_filtering.exp index 0449f9d69..57a161607 100644 --- a/testsuite/systemtap.base/uprobes_filtering.exp +++ b/testsuite/systemtap.base/uprobes_filtering.exp @@ -16,8 +16,8 @@ set test "uprobes_filtering" # We need to actually run things if {! [installtest_p]} { untested $test; return } -# If we're not using inode uprobes, don't bother testing. -if {! [inode_uprobes_p]} { untested $test; return } +# If we're not using built-in inode uprobes, don't bother testing. +if {! [inode_uprobes_p] || [classic_uprobes_p]} { untested $test; return } # So that sudo stap works in case we're not running the test as root set installed_stap "$env(SYSTEMTAP_PATH)/stap" -- 2.43.5