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:
809f367
)
CI: Add a kernel version parsing test
author
Alexander Popov
<alex.popov@linux.com>
Sat, 23 Nov 2024 21:16:27 +0000
(
00:16
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sat, 23 Nov 2024 21:16:27 +0000
(
00:16
+0300)
.github/workflows/functional_test.sh
patch
|
blob
|
history
diff --git
a/.github/workflows/functional_test.sh
b/.github/workflows/functional_test.sh
index ed2285d21e214b6ad74ba238fd310202b7fe8409..5dd841ec319f38cb5c6494221b6823578001d212 100644
(file)
--- a/
.github/workflows/functional_test.sh
+++ b/
.github/workflows/functional_test.sh
@@
-171,6
+171,8
@@
coverage run -a --branch bin/kernel-hardening-checker -c error.config && exit 1
echo ">>>>> strange kernel version in kconfig <<<<<"
sed '3s/Linux/WAT/' test.config > error.config
coverage run -a --branch bin/kernel-hardening-checker -c error.config && exit 1
+sed '3s/6\./a\./' test.config > error.config
+coverage run -a --branch bin/kernel-hardening-checker -c error.config && exit 1
echo ">>>>> strange kernel version via -v <<<<<"
sed '3d' test.config > error.config