Skip to content

Commit

Permalink
Test an unexpected line in the Kconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
a13xp0p0v committed Aug 14, 2023
1 parent 316599f commit 5c17fe6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/functional_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c17fe6

Please sign in to comment.