diff options
author | Ana Rey <anarey@gmail.com> | 2014-06-11 17:50:47 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-06-11 19:13:47 +0200 |
commit | e4e89ef3b7a84bd80a4b373220f09a70954d8cd3 (patch) | |
tree | 1c29e8f199133c6d193326835ec8a066a1d4ede8 /src | |
parent | ba68a2c0f427ab533961a5eff3516f068ded7189 (diff) |
tests: nft-parsing-test: Display error reason when testing XML
Add the use of system errors (nft_parse_perror) in test_xml to know which
node is not found.
Example:
parsing xmlfiles/75-ruleset.xml: FAILED (Invalid argument)
Reason : Node "flags" not found
[ I have mangled this patch to rename this the current 'fail' message
to 'Reason' --pablo ]
Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions