From 4500b9a09bf79933bddbdca542e004424b6a1287 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 31 Jan 2023 16:13:54 -0500 Subject: [PATCH] fixup! Cirrus: Support runc testing on debian VMs --- contrib/cirrus/setup_environment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index c1f44fb8a4fc..8572d03a5cdd 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -58,7 +58,7 @@ echo -e "\n# Begin single-use VM global variables (${BASH_SOURCE[0]})" \ # This is a possible manual maintenance gaff, check to be sure everything matches. # shellcheck disable=SC2154 -[[ "$OS_REL_VER" =~ $DISTRO_NV ]] || \ +grep -q "$DISTRO_NV" <<<"$OS_REL_VER" || \ die "Automation spec. '$DISTRO_NV'; actual host '$OS_REL_VER'" # Only allow this script to execute once