1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/contrib/atf
Enji Cooper da3067c138 Import proposed fix from upstream for
atf-sh/atf_check_test:flush_stdout_on_timeout

Many thanks for jmmv for the fix!

MFC after: 1 week
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.
2015-05-21 05:06:08 +00:00
..
atf-c MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
atf-c++ MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
atf-sh Import proposed fix from upstream for 2015-05-21 05:06:08 +00:00
doc MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
test-programs MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
atf-c.h MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
atf-c++.hpp MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
AUTHORS
config.h MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
COPYING
FREEBSD-upgrade Fix a typo in the upgrade directions 2014-09-24 06:50:14 +00:00
FREEBSD-Xlist MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
Kyuafile MFV: Import atf-0.20. 2014-02-14 19:33:16 +00:00
NEWS MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
README MFV: Import atf-0.20. 2014-02-14 19:33:16 +00:00

Introductory information                        Automated Testing Framework
===========================================================================


Introduction
************

The Automated Testing Framework (ATF) is a collection of libraries to
implement test programs in a variety of languages.  At the moment, ATF
offers C, C++ and POSIX shell bindings with which to implement tests.
These bindings all offer a similar set of functionality and any test
program written with them exposes a consistent user interface.

ATF-based test programs rely on a separate runtime engine to execute them.
The runtime engine is in charge of isolating the test programs from the
rest of the system to ensure that their results are deterministic and that
they cannot affect the running system.  The runtime engine is also
responsible for gathering the results of all tests and composing reports.
The current runtime of choice is Kyua.


Other documents
***************

* AUTHORS: List of authors and contributors for this project.

* COPYING: License information.

* INSTALL: Compilation and installation instructions.  These is not the
  standard document shipped with many packages, so be sure to read it for
  things that are specific to ATF's build.

* NEWS: List of major changes between formal, published releases.


===========================================================================
vim: filetype=text:textwidth=75:expandtab:shiftwidth=2:softtabstop=2