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

Cyril Hrubis
2020-11-25T11:54:06Z

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