]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r283170:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 31 May 2015 22:44:14 +0000 (22:44 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 31 May 2015 22:44:14 +0000 (22:44 +0000)
commit566a30e3d7ca4bdf95e98f12ef65ff23c0d2f398
tree41e1ee9fc1986ba878e147a09bbe3234bbd95626
parentad5aea14acc2650da0bc51431ac95d8126d07be8
MFC r283170:

Import proposed fix from upstream for
atf-sh/atf_check_test:flush_stdout_on_timeout

Many thanks for jmmv for the fix!

PR: 197060

Original commit message:

From 0e546407567ea858e261e72f75c5ed61e07d0ddf Mon Sep 17 00:00:00 2001
From: Julio Merino <jmmv@google.com>
Date: Tue, 17 Feb 2015 18:10:11 -0500
Subject: [PATCH] Fix atf-sh/atf_check_test:flush_stdout_on_death

The test atf-sh/atf_check_test:flush_stdout_on_timeout was flaky as it
was playing solely with time.  Fix this by making the test more robust
and rename it while we are at it: there is nothing left about "timeouts"
in this test, considering that ATF itself does not enforce deadlines
any longer.

Fixes FreeBSD PR 197060.

git-svn-id: svn://svn.freebsd.org/base/stable/10@283848 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/atf/atf-sh/atf_check_test.sh
contrib/atf/atf-sh/misc_helpers.sh