aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/procstat/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: alt two-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*__RCSID\("\$FreeBSD\$"\);\n\n/
* procstat/tests: Fix flakiness by waiting for program to startJilles Tjoelker2019-09-042-15/+8
| | | | | | | | | | | | | | | | | Some of the procstat tests start a program "while1" and examine the process using procstat, but did not wait properly for it to start (kill -0 will succeed immediately after the child process has been created). Instead, have "while1" write something when it starts, and use a fifo to wait for that. PR: 233587, 233588 Reviewed by: ngie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D21519 Notes: svn path=/head/; revision=351819
* Update the spelling of my nameEnji Cooper2019-04-222-4/+2
| | | | | | | | | | | | Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity. While here, remove "All Rights Reserved" from copyrights I "own". MFC after: 1 week Notes: svn path=/head/; revision=346571
* Temporarily skip flakey test casesLi-Wen Hsu2018-12-061-0/+4
| | | | | | | | | | PR: 233586, 233587, 233588 Approved by: markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18362 Notes: svn path=/head/; revision=341623
* Add a rudimentary test for procstat kstack.Mark Johnston2018-08-021-0/+15
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=337133
* DIRDEPS_BUILD: Connect new directories.Bryan Drewery2017-10-311-0/+16
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325187
* Switch procstat from subcommand flags to verbsBrooks Davis2017-10-141-3/+16
| | | | | | | | | | | | | - Use an enumerated value instead of separate flags for commands - Look for a verb if no command flag is set - Lookup the "xocontainer" value based on the command - Document the new command verbs in the man-page Submitted by: kdrakehp@zoho.com Differential Revision: https://reviews.freebsd.org/D10916 Notes: svn path=/head/; revision=324619
* Start writing up some basic feature tests for procstatEnji Cooper2017-05-153-0/+189
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`). MFC after: 2 months Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=318325