[LTP] [PATCH] kallsyms: check if CONFIG_KALLSYMS=y

Li Wang liwang@redhat.com
Thu Jun 27 12:00:30 CEST 2024


Patch applied, thank you both!

On Thu, Jun 27, 2024 at 5:43 PM Po-Hsu Lin <po-hsu.lin@canonical.com> wrote:

> Tested with Ubuntu Jammy KVM kernel, this test will be skipped as
> expected.
>
> <<<test_start>>>
> tag=kallsyms stime=1719396276
> cmdline="kallsyms"
> contacts=""
> analysis=exit
> <<<test_output>>>
> incrementing stop
> tst_kconfig.c:88: TINFO: Parsing kernel config
> '/lib/modules/5.15.0-1061-kvm/build/.config'
> tst_kconfig.c:531: TINFO: Constraint 'CONFIG_KALLSYMS=y' not satisfied!
> tst_kconfig.c:477: TINFO: Variables:
> tst_kconfig.c:495: TINFO:  CONFIG_KALLSYMS=n
> tst_test.c:1192: TCONF: Aborting due to unsuitable kernel config, see
> above!
> <<<execution_status>>>
> initiation_status="ok"
> duration=0 termination_type=exited termination_id=32 corefile=no
> cutime=0 cstime=0
> <<<test_end>>>
> INFO: ltp-pan reported all tests PASS
>
> Tested-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
> Reviewed-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>

-- 
Regards,
Li Wang


More information about the ltp mailing list