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

Po-Hsu Lin po-hsu.lin@canonical.com
Thu Jun 27 11:42:16 CEST 2024


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>


More information about the ltp mailing list