HomeFreeBSD

uniq tests: Make uniq_test:stdout more reliable

Description

uniq tests: Make uniq_test:stdout more reliable

When running regression tests in paralle, this one occasionally fails
because uniq exits with status 0. I believe this is because the test is
a bit racy: it assumes that true(1) will exit before uniq writes to
standard out.

Just sleep for a bit to give the other end of the pipe to exit.

Reviewed by: des
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D45534

(cherry picked from commit d9220f64da8b1d55b15259e8b266b50371ed4f47)

Details

Provenance
markjAuthored on Fri, Jun 14, 12:00 AM
Reviewer
des
Differential Revision
D45534: uniq tests: Make uniq_test:stdout more reliable
Parents
rG0d03585e6bc7: jedec_dimm: Use device_set_descf()
Branches
Unknown
Tags
Unknown