From: Alexander Popov Date: Mon, 14 Aug 2023 15:53:25 +0000 (+0300) Subject: Test an unexpected line in the Kconfig file X-Git-Tag: v0.6.6~91 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5c17fe62f55004bd784c6fa97d01f7aa1d841325;hp=316599f95c538278967ccecbcb4b6b10540ec6a2;p=kconfig-hardened-check.git Test an unexpected line in the Kconfig file --- 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