Re: [PATCH] test_driver: Implement virDomainGetControlInfo and add test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/13/21 2:21 PM, Luke Yue wrote:
> As test driver won't have real background job running, in order to get
> all possible states, the time is used here to decide which state to be
> returned. The default time will get `ok` as return value.
> 
> Note that using `virsh domtime fc4 200` won't take effect for the test
> driver, to get other states, you have to enter virsh interactive
> terminal and set time.
> 
> Signed-off-by: Luke Yue <lukedyue@xxxxxxxxx>
> ---
>  src/test/test_driver.c | 63 ++++++++++++++++++++++++++++++++++++++++++
>  tests/virshtest.c      | 11 ++++++++
>  2 files changed, 74 insertions(+)

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

and pushed.

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux