From 5b15e12404fc82d15f95fcb77a5df2217d7be231 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 21 May 2014 08:59:57 +0200 Subject: [PATCH] add another test case --- test/test-errors2/100.fw | 10 ++++++++++ test/test-errors2/tests | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 test/test-errors2/100.fw create mode 100644 test/test-errors2/tests 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 -- 2.39.2