[libvirt] [PATCH v2 3/3] tests: Include a random network testcase to test indexes.

Julio Faracco posted 3 patches 7 years ago
[libvirt] [PATCH v2 3/3] tests: Include a random network testcase to test indexes.
Posted by Julio Faracco 7 years ago
This is a test case to test network indexes. NICs must be created
considering the sequence of each index no matter where the entry is.
They do not be defined in sequence as legacy version suggests.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
---
 tests/lxcconf2xmltest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/lxcconf2xmltest.c b/tests/lxcconf2xmltest.c
index 2a277042ce..78927d29b1 100644
--- a/tests/lxcconf2xmltest.c
+++ b/tests/lxcconf2xmltest.c
@@ -163,6 +163,7 @@ mymain(void)
     DO_TEST3("macvlannetwork", false);
     DO_TEST3("vlannetwork", false);
     DO_TEST3("miscnetwork", false);
+    DO_TEST3("randomnetwork", false);
     DO_TEST3("idmap", false);
     DO_TEST3("memtune", false);
     DO_TEST3("cputune", false);
-- 
2.19.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 3/3] tests: Include a random network testcase to test indexes.
Posted by Cole Robinson 7 years ago
On 01/10/2019 10:01 PM, Julio Faracco wrote:
> This is a test case to test network indexes. NICs must be created
> considering the sequence of each index no matter where the entry is.
> They do not be defined in sequence as legacy version suggests.
> 
> Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
> ---
>  tests/lxcconf2xmltest.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/lxcconf2xmltest.c b/tests/lxcconf2xmltest.c
> index 2a277042ce..78927d29b1 100644
> --- a/tests/lxcconf2xmltest.c
> +++ b/tests/lxcconf2xmltest.c
> @@ -163,6 +163,7 @@ mymain(void)
>      DO_TEST3("macvlannetwork", false);
>      DO_TEST3("vlannetwork", false);
>      DO_TEST3("miscnetwork", false);
> +    DO_TEST3("randomnetwork", false);
>      DO_TEST3("idmap", false);
>      DO_TEST3("memtune", false);
>      DO_TEST3("cputune", false);
> 

It looks like you forgot to 'git add' the test file

Thanks,
Cole

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list