From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arturo Borrero Gonzalez Subject: [libnftables PATCH] test: xml: fix malformed ruleset testfile Date: Thu, 24 Oct 2013 17:00:58 +0200 Message-ID: <20131024150058.21634.49651.stgit@nfdev.cica.es> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: netfilter-devel@vger.kernel.org Return-path: Received: from smtp3.cica.es ([150.214.5.190]:42868 "EHLO smtp.cica.es" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754709Ab3JXPBQ (ORCPT ); Thu, 24 Oct 2013 11:01:16 -0400 Received: from localhost (unknown [127.0.0.1]) by smtp.cica.es (Postfix) with ESMTP id 5330451ED47 for ; Thu, 24 Oct 2013 15:01:09 +0000 (UTC) Received: from smtp.cica.es ([127.0.0.1]) by localhost (mail.cica.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N6D5U51J4S3K for ; Thu, 24 Oct 2013 17:01:03 +0200 (CEST) Received: from nfdev.cica.es (nfdev.cica.es [IPv6:2a00:9ac0:c1ca:31::220]) by smtp.cica.es (Postfix) with ESMTP id BD51551ECD7 for ; Thu, 24 Oct 2013 17:01:01 +0200 (CEST) Sender: netfilter-devel-owner@vger.kernel.org List-ID: Give a new XML ruleset testfile. For some reason, the previous was truncated. This passed silently as nft-parsing-test is not reporting some errors properly. This new file provides: * 2 tables * 3 chains * 2 sets, with and without maps * 3 rules with mixed exprs Signed-off-by: Arturo Borrero Gonzalez --- tests/xmlfiles/75-ruleset.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xmlfiles/75-ruleset.xml b/tests/xmlfiles/75-ruleset.xml index 926c2be..5f673a6 100644 --- a/tests/xmlfiles/75-ruleset.xml +++ b/tests/xmlfiles/75-ruleset.xml @@ -1 +1 @@ -filterip0
filter2ip0
input100filter
ip
output300filter
ip
ipfilter
set0312200020x00001900020x00001600< /set_elem>
ipfilter
set1312200filterip0
filterip60
input100filter
ip
output200filter
ip
forward100filter
ip6
ip6filter
set0312200020x00004300020x00003500
ipfiltermap011122429496704016020x00005000drop020x00001600acceptip
filter
input80000acceptipfilter
output90191network1eq10x00000006122transportmap010
ip6filter
forward20161network1eq10x00000011122transportset010000accept< /verdict>