From c1fa1ee05544739d87445288f2fccec35b5e9a40 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 14 Aug 2023 18:56:39 +0300 Subject: [PATCH] Test an invalid sysctl file --- .github/workflows/functional_test.sh | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.31.1