[LTP] [PATCH RFC 2/4] lib/tst_test.sh: add TST_NEEDS_DRIVERS parameter
Petr Vorel
pvorel@suse.cz
Thu Aug 16 10:54:58 CEST 2018
Hi Alexey,
> The drivers are checked with tst_check_drivers.
> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
> ---
> tst_test_cmds $TST_NEEDS_CMDS
> + tst_test_drivers $TST_NEEDS_DRIVERS
I'm sorry here must be some fix:
+ if [ -n "$TST_NEEDS_DRIVERS" ]; then
+ tst_test_drivers $TST_NEEDS_DRIVERS
+ fi
Otherwise tests without $TST_NEEDS_DRIVERS TCONF:
tcp_ipsec_vti 1 TCONF: 'Please provide kernel driver list' driver not found
Kind regards,
Petr
More information about the ltp
mailing list