History log of /freebsd-head/contrib/atf/atf-c/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
451c6d918cc14979c66c81a42a79c68d40d11d75 16-May-2017 jhb <jhb@FreeBSD.org> Skip tests depending on coredumps if coredumps are disabled via kern.coredump.

The kern.coredump sysctl can be set to 0 to disable coredumps. Skip the
'status_coredump' and 'wait6_coredumped' tests if this sysctl is set to 0
rather than reporting a failure.

Submitted by: brooks
Reviewed by: ngie
Obtained from: CheriBSD
Sponsored by: DARPA / AFRL
Differential Revision: https://reviews.freebsd.org/D10665
54ca66f97350ddad9b70b94335f242f4105102d5 06-Apr-2017 ngie <ngie@FreeBSD.org> atf-c: fix documentation description for atf_utils_wait(3)

atf_utils_wait(3) should be used in combination with atf_utils_fork(3),
not itself (atf_utils_wait(3)).

MFC after: 2 months
Sponsored by: Dell EMC Isilon
cb53b288c52ff31e253d0b541a09282e63659222 06-Mar-2017 ngie <ngie@FreeBSD.org> Remove *-api(3) manpages removed in ATF 0.21

I overlooked the fact that these manpages had been removed upstream
and replaced with their non *-api(3) equivalents. Follow upstream's
lead and remove the unused manpages.

MFC after: 1 week
Sponsored by: Dell EMC Isilon
713df270f33587a4036187d4db26d598652b5132 06-Mar-2017 ngie <ngie@FreeBSD.org> Fix atf-c-api(3) manpage issues

- Fix typo (specifiying -> specifying).
- Remove surrounding ellipses in i.e. section and add a comma before
and after the i.e. reference.

Bump .Dd for the change

MFC after: 1 week
Reported by: igor
Sponsored by: Dell EMC Isilon
85af12be36933521862a127b63b199bd7965262c 06-Mar-2017 ngie <ngie@FreeBSD.org> Fix igor/manlint issues with atf-c(3)

- Remove surrounding ellipses in i.e. section and add a comma before
and after the i.e. reference [1].
- Fix typo (specifiying -> specifying) [1].
- Escape '.' at start of lines using & to tell the roff processor
that the line isn't meant to be treated as a command [2].

Bump .Dd for the change

MFC after: 1 week
Reported by: igor [1], manlint [2]
Sponsored by: Dell EMC Isilon
4890e5b3e09e0c0bbafc64f006b68f3eeb8c8857 06-Mar-2017 ngie <ngie@FreeBSD.org> Fix ATF_TP_ADD_TCS example in atf-c-api(3)

ATF_TP_ADD_TC should use `tp` as the second argument, not `tcs`, as
ATF_TP_ADD_TCS uses `tp` as its first argument.

Bump .Dd for the change.

MFC after: 1 week
Sponsored by: Dell EMC Isilon
b085e42af010174e13eeff51f0ace89eca34e8eb 11-May-2016 cem <cem@FreeBSD.org> atf map: Fix double-free in low memory error path

If atf_list_append(, X, ) fails, X is freed. Don't free it again.

If anyone wants to walk this patch upstream, be my guest. I literally cannot
upstream it myself due to Google's stupid CLA.

Reported by: Coverity
CID: 979936
Sponsored by: EMC / Isilon Storage Division
120021745eb3a1c1b24fdc54769f808151deb621 01-Nov-2014 jmmv <jmmv@FreeBSD.org> MFV: Import atf-0.21.
692a2280860db95cdbdde413e71b3f8faa4b1c0f 23-Sep-2014 rodrigc <rodrigc@FreeBSD.org> Delete mentions to removed manpages

Obtained from: atf (git 23c570d6f393c76dff041360bb5f7779900c7191)
db0ea8d341c490aaa21dce2cf62468128b779b4f 19-Sep-2014 rodrigc <rodrigc@FreeBSD.org> Reference the test case "packs" to fix warnings

Put the various atf_tc_pack_t variables generated by ATF_TC to use in
the macros_h_test.c file so that we prevent some build warnings (and
thus some build errors) with clang and -Wunused.

Obtained from: atf (git 70126d013db25c72539803f19f7e00baddacdf51)
37c4c2e766a0530bb4e66a7de791e02eee9e61e4 25-May-2014 jmmv <jmmv@FreeBSD.org> Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt
a914fee09a26fe70bec17e1e3e730920360f901d 01-Apr-2014 jmmv <jmmv@FreeBSD.org> Add atf m4 files from the vendor branch.

These were originally deleted as "not important" but, actually we need them
in place if we want to be able to use autoconf on software that provides
atf-based tests. (That includes being able to rebuild autotest from scratch
on the Kyua cluster machines, as the automated setup does.)
3000aef4b44bdeb9b83e0df3facbc6a75f8da412 14-Feb-2014 jmmv <jmmv@FreeBSD.org> MFV: Import atf-0.20.
eff1b628084b6d90e8a5d92ef7e560aa14aaf34c 12-Jan-2014 jmmv <jmmv@FreeBSD.org> Add atf pkg-config files from the vendor branch.

These were originally deleted by mistake (because they were not yet being
installed) and are actually necessary.

This should have been part of r260576 but I missed committing this

MFC after: 5 days
b6948efad18d97a72200ea31c6d126713332b4b9 18-Nov-2013 jmmv <jmmv@FreeBSD.org> Drop all ATF tools code.

We stopped building the tools in r256365 so there is no need to ship
their code any longer.

Approved by: rpaulo (mentor)
8c7e11817a76331c10afb89d609a304c49dd588b 17-Nov-2013 jmmv <jmmv@FreeBSD.org> MFV: Import atf-0.18.

Approved by: rpaulo (mentor)
05cbec50d6b32df3127e3f421de5c9ef0c4d130d 15-Nov-2012 marcel <marcel@FreeBSD.org> The *_STR* macros use strcmp() to check their arguments. Include string.h
to have this definition available.
Upstream commit: 1dc1884f778f88811583e6a54610a6d7e421ca63

Submitted by: Garrett Cooper <yanegomi@gmail.com>
9ba5c158f99a629c8fad50352ab94222923024d7 05-Sep-2012 marcel <marcel@FreeBSD.org> Update to a pruned 0.16.
e421ea1bec13fe06ecd26b4a6d6886ee80968d28 04-Sep-2012 marcel <marcel@FreeBSD.org> Add headers created by running configure.
aeee2a3118be30ab45d435a42acb987b0552d3d9 04-Sep-2012 marcel <marcel@FreeBSD.org> Merge ATF 0.16 from vendor/atf/dist.

Provenance: http://code.google.com/p/kyua
Discussed with: gibbs, gnn, keramida, mdf, mlaier,
Discussed with: Garrett Cooper