[LTP] [PATCH 1/1] io_destroy01: TCONF when unsupported

Petr Vorel pvorel@suse.cz
Tue Sep 29 10:41:14 CEST 2020


Hi Yang,

> Hi Petr
> Why not using kconfig in tst_test struct.

We should probably use tst_syscall().
But using kconfig is not 1) needed (tst_syscall() most reliable way) 2) kconfig
requires having kernel config available, which is not on some platforms.

(I plan to introduce TWARN_IF_NO_CONFIG to print only warning for platforms
which don't have kconfig available, see
https://github.com/linux-test-project/ltp/issues/700).

Kind regards,
Petr


More information about the ltp mailing list