1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/contrib/atf
Ed Schouten 2c7da872aa Don't let ATF call basename() and dirname() in a non-standard way.
POSIX basename() and dirname() are allowed to overwrite the input
buffer. The advantage of implementing it that way is that the functions
can be thread-safe, as they don't store the result in a global buffer.

It looks like ATF wants to call basename() and dirname() in the
non-standard way where the argument is of type "const char *". This
change disables the calls to basename() and dirname(), which only seems
to affect the formatting of some rare debug/error messages.

Reviewed by:	ngie
Differential Revision:	https://reviews.freebsd.org/D6627
2016-06-08 20:54:56 +00:00
..
atf-c atf map: Fix double-free in low memory error path 2016-05-11 23:39:39 +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 Don't let ATF call basename() and dirname() in a non-standard way. 2016-06-08 20:54:56 +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