aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/netavark/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/netavark/files/run-ptest')
-rw-r--r--recipes-containers/netavark/files/run-ptest8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-containers/netavark/files/run-ptest b/recipes-containers/netavark/files/run-ptest
new file mode 100644
index 00000000..7e017ae2
--- /dev/null
+++ b/recipes-containers/netavark/files/run-ptest
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+shopt -s extglob
+
+# Skip the plugin tests because those example plugins are built only while
+# running cargo test and for this to work as a ptest they would need to be cross
+# compiled and installed as part of the ptest.
+NETAVARK=/usr/libexec/podman/netavark bats test/!(*-plugin.bats)