MFC r290914:
authorngie <ngie@FreeBSD.org>
Mon, 23 Nov 2015 09:26:53 +0000 (09:26 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 23 Nov 2015 09:26:53 +0000 (09:26 +0000)
commitd84acbd961805440ae74bea28ca28cbbb121b871
tree0d3602d114daa2514ee31e0404b5f954cbdf3b69
parent3cb0c7ddff092a0a02d788dde117fd0769018c4a
MFC r290914:

Integrate tools/regression/pipe in to the FreeBSD test suite as
tests/sys/kern/pipe

- Fix style(9) bugs
- Fix compiler warnings
- Use `nitems(x)` instead of `sizeof(x) / sizeof(*x)` pattern

The testcases will be converted over to ATF eventually, but for now will be
integrated in as plain C tests

Sponsored by: EMC / Isilon Storage Division
17 files changed:
etc/mtree/BSD.tests.dist
tests/sys/kern/Makefile
tests/sys/kern/pipe/Makefile [new file with mode: 0644]
tests/sys/kern/pipe/big_pipe_test.c [new file with mode: 0644]
tests/sys/kern/pipe/pipe_fstat_bug_test.c [new file with mode: 0644]
tests/sys/kern/pipe/pipe_ino_test.c [moved from tools/regression/pipe/pipe-ino.c with 95% similarity]
tests/sys/kern/pipe/pipe_overcommit1_test.c [moved from tools/regression/pipe/pipe-overcommit1.c with 91% similarity]
tests/sys/kern/pipe/pipe_overcommit2_test.c [moved from tools/regression/pipe/pipe-overcommit2.c with 83% similarity]
tests/sys/kern/pipe/pipe_reverse2_test.c [moved from tools/regression/pipe/pipe-reverse2.c with 94% similarity]
tests/sys/kern/pipe/pipe_reverse_test.c [new file with mode: 0644]
tests/sys/kern/pipe/pipe_wraparound_test.c [new file with mode: 0644]
tools/regression/pipe/Makefile [deleted file]
tools/regression/pipe/bigpipetest.c [deleted file]
tools/regression/pipe/bigpipetest.t [deleted file]
tools/regression/pipe/pipe-fstatbug.c [deleted file]
tools/regression/pipe/pipe-reverse.c [deleted file]
tools/regression/pipe/pipe-wraparound.c [deleted file]