[Bug 233587] flip-flop test case: usr.bin.procstat.procstat_test.command_line_arguments
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 4 16:26:10 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233587
--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:
Author: jilles
Date: Wed Sep 4 16:25:42 UTC 2019
New revision: 351819
URL: https://svnweb.freebsd.org/changeset/base/351819
Log:
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
Changes:
head/usr.bin/procstat/tests/procstat_test.sh
head/usr.bin/procstat/tests/while1.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list