[LTP] [PATCH] Add env variable as workaround for test issues in VMs
Petr Vorel
pvorel@suse.cz
Mon Apr 27 07:31:25 CEST 2020
Hi Martin,
> Timer tests often fail on sleep overrun when LTP is running inside a VM.
> The main cause is usually that the VM doesn't get enough CPU time to wake up
> the test process in time.
Cannot we detect presence of "hypervisor" in flags in /proc/cpuinfo?
I though it was quite reliable for detecting VM.
> Disable upper bound checks in the tst_timer_test library if LTP_VM_ENV is set
> to non-zero value.
Kind regards,
Petr
More information about the ltp
mailing list