projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test an unexpected line in the Kconfig file
[kconfig-hardened-check.git]
/
.github
/
workflows
/
functional_test.sh
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
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
echo ">>>>> multi-line cmdline file <<<<<"
echo 'hey man 1' > cmdline
echo 'hey man 2' >> cmdline