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:
575ae82
)
Test an invalid sysctl file
author
Alexander Popov
<alex.popov@linux.com>
Mon, 14 Aug 2023 15:56:39 +0000
(18:56 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Mon, 14 Aug 2023 16:07:28 +0000
(19:07 +0300)
.github/workflows/functional_test.sh
patch
|
blob
|
history
diff --git
a/.github/workflows/functional_test.sh
b/.github/workflows/functional_test.sh
index cbacf872d07c4b42c3c05436c4f22f2e7d8326df..50fec21fb11bbda5f25e959946dd755ba253ff25 100644
(file)
--- a/
.github/workflows/functional_test.sh
+++ b/
.github/workflows/functional_test.sh
@@
-130,4
+130,8
@@
cp $SYSCTL_EXAMPLE error_sysctls
echo 'some strange line' >> error_sysctls
coverage run -a --branch bin/kconfig-hardened-check -c test.config -s error_sysctls && exit 1
+echo ">>>>> invalid sysctl file <<<<<"
+touch empty_file
+coverage run -a --branch bin/kconfig-hardened-check -c test.config -s empty_file && exit 1
+
echo "The end of the functional tests"