summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2013-10-21 17:13:47 -0400
committerPaul Moore <pmoore@redhat.com>2013-10-21 17:13:47 -0400
commit9de19061978d990dc9fc25a20e145218cf66806c (patch)
tree7088e66b1079bd7181e2b0e817a350d92f62d4e4
parentd0a3b33eb62f31954526689042b8d2e6744518b5 (diff)
downloadlibseccomp-9de19061978d990dc9fc25a20e145218cf66806c.tar.gz
tests: fix a problem with the python bindings and the bpf-valgrind tests
Reported-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Paul Moore <pmoore@redhat.com>
-rwxr-xr-xtests/regression6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/regression b/tests/regression
index bb1c33d..790d5e1 100755
--- a/tests/regression
+++ b/tests/regression
@@ -546,6 +546,12 @@ function run_test_bpf_valgrind() {
local rc
local testcmd
+ # we only support the native/c test mode here
+ if [[ $mode != "c" ]]; then
+ stats_skipped=$(($stats_skipped+1))
+ return
+ fi
+
# print out the input test data to the log file
print_data "$1" "$2"