From 5c17fe62f55004bd784c6fa97d01f7aa1d841325 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 14 Aug 2023 18:53:25 +0300 Subject: [PATCH] Test an unexpected line in the Kconfig file --- .github/workflows/functional_test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/functional_test.sh b/.github/workflows/functional_test.sh index de4b6a3..a4fb085 100644 --- a/.github/workflows/functional_test.sh +++ b/.github/workflows/functional_test.sh @@ -115,6 +115,11 @@ cp test.config error.config sed '8 s/CONFIG_CLANG_VERSION=0/CONFIG_CLANG_VERSION=120000/' test.config > error.config coverage run -a --branch bin/kconfig-hardened-check -c error.config && exit 1 +echo ">>>>> unexpected line in the kconfig file <<<<<" +cp test.config error.config +echo 'some strange line' >> error.config +coverage run -a --branch bin/kconfig-hardened-check -c error.config && exit 1 + echo ">>>>> multi-line cmdline file <<<<<" echo 'hey man 1' > cmdline echo 'hey man 2' >> cmdline -- 2.31.1