]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r318325:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Jul 2017 20:57:38 +0000 (20:57 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Jul 2017 20:57:38 +0000 (20:57 +0000)
commitf0990e3238faadf402c7262dfb90987d1eee192d
tree7334220ad236a4a0f10b1e5cd0291d12c99cb6c3
parent5f8633a503a98271128abff2cc7253a01ca4b16e
MFC r318325:

Start writing up some basic feature tests for procstat

These tests query a running process for information related to the -b,
-c, -e, and -f flags; the -f testcase is largely stubbed out, pending
additional work to determine a good, deterministic descriptor.

Core file test support is coming soon--it requires a bit more effort
due to the fact that:
- coredumps can be disabled (kern.coredump=0).
- corefiles can be put in different directories than the current
  directory, or be named something other than `<prog>.core`
  (`kern.corefile`).

git-svn-id: svn://svn.freebsd.org/base/stable/10@321084 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/mtree/BSD.tests.dist
usr.bin/procstat/Makefile
usr.bin/procstat/tests/Makefile [new file with mode: 0644]
usr.bin/procstat/tests/procstat_test.sh [new file with mode: 0755]
usr.bin/procstat/tests/while1.c [new file with mode: 0644]