1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/usr.bin/procstat
Jilles Tjoelker ddc0daea20 procstat/tests: Fix flakiness by waiting for program to start
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
2019-09-04 16:25:41 +00:00
..
tests procstat/tests: Fix flakiness by waiting for program to start 2019-09-04 16:25:41 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
procstat_args.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat_auxv.c procstat: Recognize HWCAP and HWCAP2 with auxv command 2019-06-11 00:59:46 +00:00
procstat_basic.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat_bin.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat_cred.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat_cs.c Switch procstat from subcommand flags to verbs 2017-10-14 18:38:36 +00:00
procstat_files.c Print type designator 'D' for the KF_TYPE_DEV files. 2018-12-03 23:42:04 +00:00
procstat_kstack.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat_ptlwpinfo.c Switch procstat from subcommand flags to verbs 2017-10-14 18:38:36 +00:00
procstat_rlimit.c resource.h is sufficient here, no need for resoursevar.h. 2019-08-07 18:32:01 +00:00
procstat_rusage.c Switch procstat from subcommand flags to verbs 2017-10-14 18:38:36 +00:00
procstat_sigs.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat_threads.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat_vm.c Show wiring state of map entries in procstat -v. 2019-03-05 19:45:37 +00:00
procstat.1 Show wiring state of map entries in procstat -v. 2019-03-05 19:45:37 +00:00
procstat.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
procstat.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00