summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2012-01-11 06:42:37 -0500
committerStefan Berger <stefanb@us.ibm.com>2012-01-11 06:42:37 -0500
commit0c42e1d9aa67ed0fe646975f5a5173fc44cfeea5 (patch)
treedc79265c83c5fbcd4f7a0030e73a10ec4fe84500 /tests/nwfilterxml2xmltest.c
parentAddress side effects of accessing vars via index (diff)
downloadlibvirt-0c42e1d9aa67ed0fe646975f5a5173fc44cfeea5.tar.gz
libvirt-0c42e1d9aa67ed0fe646975f5a5173fc44cfeea5.tar.bz2
libvirt-0c42e1d9aa67ed0fe646975f5a5173fc44cfeea5.zip
Add test cases for new ways to access variables in filters
This patch adds a couple of XML parser / schema validator test cases for the new 'ways' to access variables via index or iterator.
Diffstat (limited to 'tests/nwfilterxml2xmltest.c')
-rw-r--r--tests/nwfilterxml2xmltest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/nwfilterxml2xmltest.c b/tests/nwfilterxml2xmltest.c
index 9aecbe363..39afa5cc7 100644
--- a/tests/nwfilterxml2xmltest.c
+++ b/tests/nwfilterxml2xmltest.c
@@ -153,6 +153,9 @@ mymain(void)
DO_TEST("chain_prefixtest1", true); /* derived from arp-test */
DO_TEST("attr-value-test", false);
+ DO_TEST("iter-test1", false);
+ DO_TEST("iter-test2", false);
+ DO_TEST("iter-test3", false);
return (ret==0 ? EXIT_SUCCESS : EXIT_FAILURE);
}