From: Alexander Popov Date: Sat, 23 Nov 2024 21:16:27 +0000 (+0300) Subject: CI: Add a kernel version parsing test X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3b65f7721f1b692397b9adaa79e273d43ffe798e;p=kconfig-hardened-check.git CI: Add a kernel version parsing test --- diff --git a/.github/workflows/functional_test.sh b/.github/workflows/functional_test.sh index ed2285d..5dd841e 100644 --- a/.github/workflows/functional_test.sh +++ b/.github/workflows/functional_test.sh @@ -171,6 +171,8 @@ coverage run -a --branch bin/kernel-hardening-checker -c error.config && exit 1 echo ">>>>> strange kernel version in kconfig <<<<<" sed '3s/Linux/WAT/' test.config > error.config coverage run -a --branch bin/kernel-hardening-checker -c error.config && exit 1 +sed '3s/6\./a\./' test.config > error.config +coverage run -a --branch bin/kernel-hardening-checker -c error.config && exit 1 echo ">>>>> strange kernel version via -v <<<<<" sed '3d' test.config > error.config