christos
353430cc63
fix messages.
2013-01-06 02:22:50 +00:00
christos
436fdc82bd
new udp test
2013-01-06 00:35:22 +00:00
christos
05cc565867
Test the netbsd and mtree flavors.
2013-01-02 18:11:44 +00:00
martin
236eac060e
Remove check for GLOB_NOCHECK - the behaviour has been changed again, so it
...
will return a modified pattern.
2013-01-02 11:28:48 +00:00
christos
3f1c66c5a0
- make our stat function return ENOENT if a file is not found.
...
- add a GLOB_NOMATCH check
2012-12-18 01:37:28 +00:00
christos
97efc101e5
add a test case for PR/47306
2012-12-10 20:30:06 +00:00
christos
b1dcb17635
use __BITMAP_TYPE
2012-12-07 02:28:19 +00:00
jruoho
f8b5dc2c31
Move the bitmap(3) test to the "right" place. Note it in bitops(3). Xrefs.
2012-12-04 06:57:44 +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
agc
5f7e73a0dd
Remove the Atffile, which should not have been added in the first place.
...
With thanks to Herbert J. Skuhra and Paul Goyette
2012-12-02 20:27:10 +00:00
pgoyette
d3317b816e
Actually remove the no-longer-needed Atffiles
2012-12-02 18:40:43 +00:00
pgoyette
f93daef0af
Build helper programs as PROGS and not as TESTS_{C,SH}
...
This enables us to remove custom Atffiles whose only purpose was to avoid
using the helpers as tests.
XXX src/tests/dev/dm/ is not (yet) linked into the build!
2012-12-02 18:39:53 +00:00
pgoyette
826c760e5d
Helper programs are programs, not tests, so build them appropriately.
...
Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
2012-12-02 17:36:10 +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
christos
b8815f50dc
Add a bitops test
2012-12-01 16:27:27 +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
martin
b954a04ff6
Skip kqueue_unsupported_fd if the drvctl device is not present.
2012-11-29 09:13:44 +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
jakllsch
9dc12b580b
Add fsbsizeovermaxbsize test that tests mouting a FS with block size greater
...
than MAXBSIZE.
2012-11-27 16:01:49 +00:00
jakllsch
4ab3368ede
Rename fsbsize2big to fsbsizeovermaxphys to accurately match what it tests.
...
Additionally, compute failing size dynamically by doubling MAXPHYS instead
of assuming 128K will be too big enough.
2012-11-27 15:59:15 +00:00
christos
0156034a08
Add a test for adding an event to an unsupported fd.
2012-11-24 15:05:45 +00:00
martin
5873910091
Split the test cases where root/non-root makes a difference in two and mark
...
them apropriately. Exact permission semantics are still under discussion,
this will have to be cleaned up once that discussion is settled.
For now, one test cases fails.
2012-11-23 08:24:20 +00:00
martin
ee21bbfc8f
0-terminate strings returned by readlinkat
2012-11-22 20:17:48 +00:00
martin
d875702485
Compare against modification time instead of creation time - which we did
...
not set.
2012-11-22 14:59:59 +00:00
martin
13981c9510
Fix off by one in static array acces, use valid timestamps (ns part < 1e9),
...
just in case a filesystem would need to convert this to some other
representation.
2012-11-22 14:51:19 +00:00
martin
26d64ddcc4
Mark a few tests that require root
2012-11-20 20:01:14 +00:00
agc
d9b9fb0ba9
descend into netpgpverify test directory too
2012-11-20 08:02:06 +00:00
agc
72d743a692
Add tests for netpgpverify.
2012-11-20 07:55:52 +00:00
martin
0b640008be
Do not require tv_nsec to be != 0 but instead require equality with the
...
test value.
2012-11-19 16:07:56 +00:00
manu
a76c1cc17f
Add most system calls for POSIX extended API set, part 2, with test cases:
...
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).
Also implement O_SEARCH for openat(2)
Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
joerg
f611942e77
Unbreak the NOTE_TRACK event of EVFILT_PROC. When attaching to the child
...
process, proc_find can't be used as the child is still in state SIDL.
2012-11-17 21:55:24 +00:00
alnsn
062bf78a84
Build libbpfjit test to the build.
2012-11-11 17:41:31 +00:00
alnsn
65b4b42177
Add libbpfjit test.
2012-11-11 17:37:34 +00:00
pgoyette
922089c955
More clean-up, and adjust timing of kevent test to avoid issues with
...
PR kern/43887
2012-11-09 20:13:24 +00:00