From: Alexander Popov Date: Mon, 14 Aug 2023 15:56:39 +0000 (+0300) Subject: Test an invalid sysctl file X-Git-Tag: v0.6.6~89 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c1fa1ee05544739d87445288f2fccec35b5e9a40;hp=575ae82ab6ca197a5fd502ecddc548f76d20cb4a;p=kconfig-hardened-check.git Test an invalid sysctl file --- diff --git a/.github/workflows/functional_test.sh b/.github/workflows/functional_test.sh index cbacf87..50fec21 100644 --- 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"