Commit Graph

59 Commits

Author SHA1 Message Date
martin f5cad80b32 Ooops, pilot error - revert last 2015-11-05 10:43:42 +00:00
martin 2f1599bef8 Fix expected output to match -current NetBSD reality (port "255" is not
mapped to "reserved")
2015-11-05 10:35:58 +00:00
dholland bbf415f038 Null commit, to note that the previous commit by darrenr (which said
just "PR kern/47462") didn't even have the right PR number. The correct
number, as far as I can tell, was PR 47262.

/brick
2014-12-06 19:31:25 +00:00
martin c8560b5aee Remove the "broken on BE" mark from the N14 testcase - ozaki-r fixed it
recently.
2014-12-01 19:46:29 +00:00
ozaki-r 9341145987 Fix wrong expected outputs
IP addresses in the expected outputs looks reversed (in byte order).
It seems the expected outputs had been generated based on source code
with a bug and the bug was fixed by a commit titled "#534 destination
list hashing not endian neutral" by darrenr@.
2014-11-25 08:25:46 +00:00
martin 349f6dd23e Darren fixed n8 and n9 recently 2014-07-15 20:00:23 +00:00
martin 6877679165 NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
so expect that in the parsing output instead of 255.
2014-07-15 19:51:36 +00:00
darrenr cccb715a0e Test n17_6 does not yet exist so remove unrequired files and test case 2014-07-12 14:37:12 +00:00
darrenr 347b12f138 New IPv6 tests for ipnat parsing need to be built by make so that they can
be executed.
2014-06-30 17:02:55 +00:00
darrenr 6dd125be9b NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
so expect that in the parsing output instead of 255.
2014-06-30 16:14:35 +00:00
darrenr 55ab6190c4 PR kern/47462 2014-06-29 09:27:58 +00:00
darrenr d36a011b61 Add in test cases for testing ipnat's parsing of IPv6 NAT rules 2014-06-29 09:25:31 +00:00
darrenr 1afe7e56bc in2 is no longer a broken test case 2014-06-29 04:00:59 +00:00
martin 0bac6b7608 Mark two more test case as only failing for BE 2013-05-16 07:43:02 +00:00
martin e2eacae3cf Assume that the NAT failures that happen on some architectures are endianess
bugs, so do not expect failure on LE archs for now.
2013-05-16 07:20:29 +00:00
martin 99e62f4068 Fix argument order for "n14" 2013-03-19 13:23:58 +00:00
martin 19ec7b0e9f Mark a few more test cases known to only work by chance as failing
and point to PR 47665.
Julio: how do we make such cases not fail when they actually happen to
work (by pure luck)?
2013-03-18 20:03:56 +00:00
jmmv ebd45a6ca9 Mark some long-standing failures as known failures.
The offending tests are these:
- t_filter_exec: f26, f27.
- t_filter_parse: i17.
- t_nat_exec: n12.

These tests are confirmed to fail in NetBSD/current under amd64, i386 and
sparc as reported by the continuous testing systems.
2013-03-17 03:00:05 +00:00
pgoyette 430b860e38 Christos fixed the crash in ipftest, so re-enable the failing tests. 2012-12-03 23:39:30 +00:00
pgoyette 0a24a43187 Add a couple more inet6 tests to verify correct rule parsing 2012-12-03 21:29:15 +00:00
pgoyette eef4456861 Include an explicit test for correctly inferring family inet6 when there
is an IPv6 address in the rule
2012-12-03 20:43:59 +00:00
pgoyette 5d29dd1420 Now that expected output files have been adjusted, we can remove the
expectation that tests i14 and i19 will fail.

Should address kern/47262 which will be closed.
2012-12-03 19:43:36 +00:00
pgoyette aaf9c67393 Without explicit address, the address family is not inferred and not
displayed in the output.
2012-12-03 19:42:00 +00:00
pgoyette b757daddb1 For rules without any address, don't infer an address family. 2012-12-03 19:35:33 +00:00
pgoyette 0855789845 Test-case n3_6 is not applicable to NetBSD (according to Darren R.) 2012-12-02 08:52:06 +00:00
pgoyette 08896ebe5a More test clean-up 2012-12-01 21:37:41 +00:00
pgoyette 8c5ae97cbd Put the reason for expected failure in the correct position 2012-12-01 21:25:51 +00:00
pgoyette 5cf1898f6e Use proper quoting for the expected-failure reason 2012-12-01 04:43:44 +00:00
pgoyette 3ce5310bf2 Now that we have a PR for the brokenness in "ipftest -P -N", mark the
related tests as Expected Failure rather than just skipping the tests.
2012-12-01 04:40:00 +00:00
pgoyette e56dec26bf Based on the error messages, the test is not broken, but ipftest probably
in broken.

Once we can analyze the error further, we can open a PR in Gnats and then
move this to Expected-Failure.  But we shouldn't skip it because we'll
never come back to fix it.
2012-12-01 04:19:24 +00:00
pgoyette a95855641b If we're going to expect a failure, we need to use the correct shell
function!  "atf_expect_fail()" does not have a "_tc" in its name!
2012-11-30 14:46:48 +00:00
pgoyette 361363890b Rather than providing a custom Atffile that requires separate
maintenance, just don't build or install the t_bpf.sh test.
2012-11-30 01:41:50 +00:00
pgoyette 85d282e793 fix typo in previous - missing quote 2012-11-29 18:54:43 +00:00
pgoyette 1ed7a9a845 Update a couple of tests to indicate that they are broken/failing because
of missing input/expected data files
2012-11-29 17:22:17 +00:00
pgoyette 2cb9f80737 Now that I've created PR/47262, reference it in the tests that fail
because of the PR
2012-11-29 17:11:19 +00:00
pgoyette a557d345a2 Add another test option for expected failures, rather than simply
skipping tests
2012-11-29 17:10:21 +00:00
pgoyette 60bd2d2129 Even though this test is currently disabled, fix it so it looks for the
correct input and expected-output files for test case bpf_f1
2012-11-29 16:05:34 +00:00
pgoyette acd8a5e133 Since all of the expected-results files provided from upstream include
the "-D" output (Dump additional internal tables), update the tests to
actually generate the data!

This lets us re-enable 28 of the 30 "skipped" tests.

XXX Still need to work on tests n12 and n17_6
2012-11-29 04:57:42 +00:00
darrenr 30a942f180 test cases n201 and n202 were removed on import of 5.1.2 2012-07-22 16:22:41 +00:00
darrenr e60fd761ef Merged IPFilter 5.1.2 into HEAD 2012-07-22 14:33:26 +00:00
darrenr c9d5dc6c77 Import IPFilter 5.1.2 2012-07-22 13:44:10 +00:00
pgoyette e048bbf458 Restore the rest of the ipfilter test framework, even if most of these
tests are broken.  The "golden output" files for these tests need to be
updated.
2012-07-08 14:45:05 +00:00
pgoyette b437857d4c Restore one more group of tests.
XXX Test i17 was broken previously, and remains broken.
2012-07-08 00:53:01 +00:00
pgoyette f499e4e2e7 Restore some more tests from ipfilter 5.1.1
XXX Test in2 was broken before the ipfilter 5.1.1 import, and is still
XXX broken.
2012-07-08 00:48:29 +00:00
pgoyette a29385018a Restore some more of the ipfilter 5.1.1 tests.
XXX It appears that ipftest is not handling the policy {,src-,dst-}hash
XXX correctly, so these tests are still marked broken/skipped.
2012-07-08 00:36:46 +00:00
pgoyette f5d9b1d185 Re-enable some of the ipf tests. The only thing wrong with these tests
is that the tests were not re-imported with the rest of ipfilter 5.1.1

XXX There are still some more ipf test failures that need to get resolved,
XXX but at least we'll get some of them back just in case we have a
XXX regression.
2012-07-07 23:29:44 +00:00
jruoho 4f5cd33ee1 Mark the failing tests as broken. XXX: If no one is willing to maintain
the ipf tests, these should be removed.
2012-03-27 09:27:33 +00:00
christos 22ab6602b0 Update to the tests from 5.1.1 2012-03-23 23:08:00 +00:00
riz f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00
martin c785063d3d Comment out test n3_6 - the data files are missing 2012-02-14 09:17:22 +00:00