projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316599f
)
Test an unexpected line in the Kconfig file
author
Alexander Popov
<alex.popov@linux.com>
Mon, 14 Aug 2023 15:53:25 +0000
(18:53 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Mon, 14 Aug 2023 15:55:47 +0000
(18:55 +0300)
.github/workflows/functional_test.sh
patch
|
blob
|
history
diff --git
a/.github/workflows/functional_test.sh
b/.github/workflows/functional_test.sh
index de4b6a3754cca2d696d1af821d4471f1864b65d6..a4fb08597e7141b9f23f3c3ad22fd222a1fca95a 100644
(file)
--- 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