From: Alexander Popov Date: Mon, 28 Aug 2023 11:20:13 +0000 (+0300) Subject: Test more wrong combinations of options X-Git-Tag: v0.6.6~83 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=ec9c9816001b62ea130ca39b263d5d4317527127;p=kconfig-hardened-check.git Test more wrong combinations of options --- diff --git a/.github/workflows/functional_test.sh b/.github/workflows/functional_test.sh index f7a384d..9388c5d 100644 --- a/.github/workflows/functional_test.sh +++ b/.github/workflows/functional_test.sh @@ -78,12 +78,18 @@ coverage run -a --branch bin/kconfig-hardened-check -p X86_64 -c kconfig_hardene echo ">>>>> -c and -g together <<<<<" coverage run -a --branch bin/kconfig-hardened-check -g X86_64 -c kconfig_hardened_check/config_files/distros/fedora_34.config && exit 1 -echo ">>>>> -p and -g together <<<<<" -coverage run -a --branch bin/kconfig-hardened-check -p X86_64 -g X86_64 && exit 1 - echo ">>>>> -l without -c <<<<<" coverage run -a --branch bin/kconfig-hardened-check -l /proc/cmdline && exit 1 +echo ">>>>> -s and -p together <<<<<" +coverage run -a --branch bin/kconfig-hardened-check -p X86_64 -s $SYSCTL_EXAMPLE && exit 1 + +echo ">>>>> -s and -g together <<<<<" +coverage run -a --branch bin/kconfig-hardened-check -g X86_64 -s $SYSCTL_EXAMPLE && exit 1 + +echo ">>>>> -p and -g together <<<<<" +coverage run -a --branch bin/kconfig-hardened-check -p X86_64 -g X86_64 && exit 1 + echo ">>>>> wrong modes for -p <<<<<" coverage run -a --branch bin/kconfig-hardened-check -p X86_64 -m show_ok && exit 1 coverage run -a --branch bin/kconfig-hardened-check -p X86_64 -m show_fail && exit 1