From: Dietmar Maurer Date: Wed, 21 May 2014 06:59:57 +0000 (+0200) Subject: add another test case X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=5b15e12404fc82d15f95fcb77a5df2217d7be231 add another test case --- diff --git a/test/test-errors2/100.fw b/test/test-errors2/100.fw new file mode 100644 index 0000000..0153de0 --- /dev/null +++ b/test/test-errors2/100.fw @@ -0,0 +1,10 @@ +[OPTIONS] + +enable: 1 + +[RULES] + +IN ACCEPT -source non-existing-alias -dport 443 +IN ACCEPT -source +non-existing-ipset -dport 443 +IN ACCEPT -p tcp -dport 80 + diff --git a/test/test-errors2/tests b/test/test-errors2/tests new file mode 100644 index 0000000..c15f9e2 --- /dev/null +++ b/test/test-errors2/tests @@ -0,0 +1,3 @@ +{ from => 'outside', to => 'vm100', dport => 443, action => 'DROP' } +{ from => 'outside', to => 'vm100', dport => 80, action => 'ACCEPT' } +{ from => 'outside', to => 'vm100', dport => 81, action => 'DROP' } \ No newline at end of file