From dbffe9f4c230076e0e722caab64d6243412549ef Mon Sep 17 00:00:00 2001 From: Patrick Wicki Date: Fri, 25 Aug 2023 16:51:48 +0200 Subject: netavark: skip plugins in ptest Skip the plugin tests that were introduced in 1.6.0 and lead to ptest failure. Signed-off-by: Patrick Wicki Signed-off-by: Bruce Ashfield --- recipes-containers/netavark/files/run-ptest | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'recipes-containers/netavark') diff --git a/recipes-containers/netavark/files/run-ptest b/recipes-containers/netavark/files/run-ptest index 41a37dce..7e017ae2 100644 --- a/recipes-containers/netavark/files/run-ptest +++ b/recipes-containers/netavark/files/run-ptest @@ -1,3 +1,8 @@ #!/bin/bash -NETAVARK=/usr/libexec/podman/netavark bats ./test/ +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) -- cgit v1.2.3-54-g00ecf