Skip to content

Commit

Permalink
CI: Add a kernel version parsing test
Browse files Browse the repository at this point in the history
  • Loading branch information
a13xp0p0v committed Nov 23, 2024
1 parent 809f367 commit 3b65f77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/functional_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b65f77

Please sign in to comment.