[LTP] [PATCH] fzsync: skip test when avaliable CPUs less than 2

Cyril Hrubis chrubis@suse.cz
Wed Nov 25 12:54:06 CET 2020


Hi!
> Perhaps this test would pass with more loops and a big enough delay
> range, but this is also wasting time on a single vCPU. I'm not sure
> whether we should filter this test at the LTP level; it may trigger the
> bug on some single CPU configs.
> 
> Why not print a warning instead of refusing to run?

That's not a solution either, warning would end up in a test results as
well.

I guess that we can add something as .min_cpus to the tst_test structure
and set it for this test?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list