From fec7c332583f65624949a77e7a81e2b1dbf9171c Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 16 Apr 2024 12:02:12 +0200 Subject: [PATCH] fmf: Restrict "-stream" TEST_OS suffix to CentOS 8/9 Our c10s CI image is called "centos-10" without the -stream suffix. This fits better with `os-release` and makes the names shorter. Adjust the building of `$TEST_OS` accordingly. [1] https://github.com/cockpit-project/bots/pull/6218 --- test/browser/run-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/browser/run-test.sh b/test/browser/run-test.sh index e1b5fa0..b2cbda8 100644 --- a/test/browser/run-test.sh +++ b/test/browser/run-test.sh @@ -23,7 +23,7 @@ mv .git dot-git . /run/host/usr/lib/os-release export TEST_OS="${ID}-${VERSION_ID/./-}" -if [ "${TEST_OS#centos-}" != "$TEST_OS" ]; then +if [ "$TEST_OS" = "centos-8" ] || [ "$TEST_OS" = "centos-9" ]; then TEST_OS="${TEST_OS}-stream" fi