diff mbox

[libnftables,2/2] tests: extend test-script to also tests parsing

Message ID 20131128113016.11152.36686.stgit@nfdev.cica.es
State Accepted
Headers show

Commit Message

Arturo Borrero Nov. 28, 2013, 11:30 a.m. UTC
Lets test the XML/JSON parsing with test-script.sh.

Singed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 tests/test-script.sh |    2 ++
 1 file changed, 2 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Pablo Neira Ayuso Nov. 30, 2013, 9:07 p.m. UTC | #1
On Thu, Nov 28, 2013 at 12:30:16PM +0100, Arturo Borrero Gonzalez wrote:
> Lets test the XML/JSON parsing with test-script.sh.

Good, we have to make sure that new stuff also passes these tests.

Applied, thanks Arturo.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tests/test-script.sh b/tests/test-script.sh
index 458f818..b766421 100755
--- a/tests/test-script.sh
+++ b/tests/test-script.sh
@@ -18,3 +18,5 @@ 
 ./nft-rule-test
 ./nft-set-test
 ./nft-table-test
+./nft-parsing-test xmlfiles
+./nft-parsing-test jsonfiles