[PATCH 0/3] tests: qemuxml2argv negative tests for hugepages and numatune

Han Han hhan at redhat.com
Thu Apr 22 02:07:57 UTC 2021


On Mon, Apr 19, 2021 at 8:56 PM Michal Privoznik <mprivozn at redhat.com>
wrote:

> On 3/30/21 8:36 AM, Han Han wrote:
> >
> > Han Han (3):
> >    tests: negative test for hugepages with anonymous memory backing
> >    tests: negative test for hugepages with ondemand mode
> >    tests: negative test of binding memnode cellid to an nonexist guest
> >      cell
> >
> >   .../qemuxml2argvdata/hugepages-anonymous.err  |  1 +
> >   .../qemuxml2argvdata/hugepages-anonymous.xml  | 25 +++++++++++++++
> >   tests/qemuxml2argvdata/hugepages-ondemand.err |  1 +
> >   tests/qemuxml2argvdata/hugepages-ondemand.xml | 25 +++++++++++++++
> >   ...une-memnode-cellid-nonexist-guest-cell.err |  1 +
> >   ...une-memnode-cellid-nonexist-guest-cell.xml | 31 +++++++++++++++++++
> >   tests/qemuxml2argvtest.c                      |  3 ++
> >   7 files changed, 87 insertions(+)
> >   create mode 100644 tests/qemuxml2argvdata/hugepages-anonymous.err
> >   create mode 100644 tests/qemuxml2argvdata/hugepages-anonymous.xml
> >   create mode 100644 tests/qemuxml2argvdata/hugepages-ondemand.err
> >   create mode 100644 tests/qemuxml2argvdata/hugepages-ondemand.xml
> >   create mode 100644
> tests/qemuxml2argvdata/numatune-memnode-cellid-nonexist-guest-cell.err
> >   create mode 100644
> tests/qemuxml2argvdata/numatune-memnode-cellid-nonexist-guest-cell.xml
> >
>
> Han,
>
> what's the story behind these? I'm not particularly fan of testing that
> something does not work. Did we have regression in this area lately?
>
No regression lately. I only intended to cover some negative cases in unit
tests.

>
> Michal
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210422/99066c1b/attachment-0001.htm>


More information about the libvir-list mailing list