History log of /freebsd-10-stable/libexec/atf/atf-sh/tests/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
313488 09-Feb-2017 ngie

MFC r289172,r290254:

r289172:

Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)

- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity

r290254:

Remove unused variable (SRCDIR)


/freebsd-10-stable/bin/cat/tests/Makefile
/freebsd-10-stable/bin/date/tests/Makefile
/freebsd-10-stable/bin/expr/tests/Makefile
/freebsd-10-stable/bin/ls/tests/Makefile
/freebsd-10-stable/bin/mv/tests/Makefile
/freebsd-10-stable/bin/pax/tests/Makefile
/freebsd-10-stable/bin/pkill/tests/Makefile
/freebsd-10-stable/bin/sh/tests/Makefile
/freebsd-10-stable/bin/sleep/tests/Makefile
/freebsd-10-stable/bin/test/tests/Makefile
/freebsd-10-stable/bin/tests/Makefile
/freebsd-10-stable/cddl/lib/tests/Makefile
/freebsd-10-stable/cddl/sbin/tests/Makefile
/freebsd-10-stable/cddl/tests/Makefile
/freebsd-10-stable/cddl/usr.bin/tests/Makefile
/freebsd-10-stable/cddl/usr.sbin/dtrace/tests/Makefile
/freebsd-10-stable/cddl/usr.sbin/tests/Makefile
/freebsd-10-stable/gnu/lib/tests/Makefile
/freebsd-10-stable/gnu/tests/Makefile
/freebsd-10-stable/gnu/usr.bin/diff/tests/Makefile
/freebsd-10-stable/gnu/usr.bin/tests/Makefile
/freebsd-10-stable/lib/atf/libatf-c++/tests/Makefile
/freebsd-10-stable/lib/atf/libatf-c++/tests/detail/Makefile
/freebsd-10-stable/lib/atf/libatf-c/tests/Makefile
/freebsd-10-stable/lib/atf/libatf-c/tests/detail/Makefile
/freebsd-10-stable/lib/atf/tests/Makefile
/freebsd-10-stable/lib/atf/tests/test-programs/Makefile
/freebsd-10-stable/lib/libc/tests/Makefile
/freebsd-10-stable/lib/libc/tests/Makefile.netbsd-tests
/freebsd-10-stable/lib/libc/tests/c063/Makefile
/freebsd-10-stable/lib/libc/tests/db/Makefile
/freebsd-10-stable/lib/libc/tests/gen/Makefile
/freebsd-10-stable/lib/libc/tests/gen/execve/Makefile
/freebsd-10-stable/lib/libc/tests/gen/posix_spawn/Makefile
/freebsd-10-stable/lib/libc/tests/hash/Makefile
/freebsd-10-stable/lib/libc/tests/inet/Makefile
/freebsd-10-stable/lib/libc/tests/locale/Makefile
/freebsd-10-stable/lib/libc/tests/net/Makefile
/freebsd-10-stable/lib/libc/tests/net/getaddrinfo/Makefile
/freebsd-10-stable/lib/libc/tests/regex/Makefile
/freebsd-10-stable/lib/libc/tests/rpc/Makefile
/freebsd-10-stable/lib/libc/tests/setjmp/Makefile
/freebsd-10-stable/lib/libc/tests/ssp/Makefile
/freebsd-10-stable/lib/libc/tests/stdio/Makefile
/freebsd-10-stable/lib/libc/tests/stdlib/Makefile
/freebsd-10-stable/lib/libc/tests/string/Makefile
/freebsd-10-stable/lib/libc/tests/sys/Makefile
/freebsd-10-stable/lib/libc/tests/termios/Makefile
/freebsd-10-stable/lib/libc/tests/time/Makefile
/freebsd-10-stable/lib/libc/tests/tls/Makefile
/freebsd-10-stable/lib/libc/tests/tls/dso/Makefile
/freebsd-10-stable/lib/libc/tests/ttyio/Makefile
/freebsd-10-stable/lib/libcrypt/tests/Makefile
/freebsd-10-stable/lib/libmp/tests/Makefile
/freebsd-10-stable/lib/libnv/tests/Makefile
/freebsd-10-stable/lib/libpam/libpam/tests/Makefile
/freebsd-10-stable/lib/librt/tests/Makefile
/freebsd-10-stable/lib/libthr/tests/Makefile
/freebsd-10-stable/lib/libthr/tests/dlopen/Makefile
/freebsd-10-stable/lib/libthr/tests/dlopen/dso/Makefile
/freebsd-10-stable/lib/libutil/tests/Makefile
/freebsd-10-stable/lib/msun/tests/Makefile
/freebsd-10-stable/lib/tests/Makefile
/freebsd-10-stable/libexec/atf/atf-check/tests/Makefile
Makefile
/freebsd-10-stable/libexec/atf/tests/Makefile
/freebsd-10-stable/libexec/tests/Makefile
/freebsd-10-stable/sbin/devd/tests/Makefile
/freebsd-10-stable/sbin/dhclient/tests/Makefile
/freebsd-10-stable/sbin/growfs/tests/Makefile
/freebsd-10-stable/sbin/mdconfig/tests/Makefile
/freebsd-10-stable/sbin/tests/Makefile
/freebsd-10-stable/secure/lib/tests/Makefile
/freebsd-10-stable/secure/libexec/tests/Makefile
/freebsd-10-stable/secure/tests/Makefile
/freebsd-10-stable/secure/usr.bin/tests/Makefile
/freebsd-10-stable/secure/usr.sbin/tests/Makefile
/freebsd-10-stable/share/examples/tests/Makefile
/freebsd-10-stable/share/tests/Makefile
/freebsd-10-stable/tests/etc/Makefile
/freebsd-10-stable/tests/sys/mqueue/Makefile
/freebsd-10-stable/tests/sys/pjdfstest/tests/Makefile
/freebsd-10-stable/usr.bin/apply/tests/Makefile
/freebsd-10-stable/usr.bin/basename/tests/Makefile
/freebsd-10-stable/usr.bin/calendar/tests/Makefile
/freebsd-10-stable/usr.bin/cmp/tests/Makefile
/freebsd-10-stable/usr.bin/col/tests/Makefile
/freebsd-10-stable/usr.bin/comm/tests/Makefile
/freebsd-10-stable/usr.bin/cut/tests/Makefile
/freebsd-10-stable/usr.bin/dirname/tests/Makefile
/freebsd-10-stable/usr.bin/file2c/tests/Makefile
/freebsd-10-stable/usr.bin/grep/tests/Makefile
/freebsd-10-stable/usr.bin/gzip/tests/Makefile
/freebsd-10-stable/usr.bin/join/tests/Makefile
/freebsd-10-stable/usr.bin/jot/tests/Makefile
/freebsd-10-stable/usr.bin/lastcomm/tests/Makefile
/freebsd-10-stable/usr.bin/m4/tests/Makefile
/freebsd-10-stable/usr.bin/ncal/tests/Makefile
/freebsd-10-stable/usr.bin/printf/tests/Makefile
/freebsd-10-stable/usr.bin/sed/tests/Makefile
/freebsd-10-stable/usr.bin/tests/Makefile
/freebsd-10-stable/usr.bin/truncate/tests/Makefile
/freebsd-10-stable/usr.bin/uudecode/tests/Makefile
/freebsd-10-stable/usr.bin/uuencode/tests/Makefile
/freebsd-10-stable/usr.bin/xargs/tests/Makefile
/freebsd-10-stable/usr.bin/yacc/tests/Makefile
/freebsd-10-stable/usr.sbin/etcupdate/tests/Makefile
/freebsd-10-stable/usr.sbin/fstyp/tests/Makefile
/freebsd-10-stable/usr.sbin/newsyslog/tests/Makefile
/freebsd-10-stable/usr.sbin/nmtree/tests/Makefile
/freebsd-10-stable/usr.sbin/pw/tests/Makefile
/freebsd-10-stable/usr.sbin/sa/tests/Makefile
/freebsd-10-stable/usr.sbin/tests/Makefile
275988 21-Dec-2014 ngie

MFC r273929:

r273929 (by jmmv):

MFV: Import atf-0.21.


/freebsd-10-stable/ObsoleteFiles.inc
/freebsd-10-stable/contrib/atf/FREEBSD-Xlist
/freebsd-10-stable/contrib/atf/NEWS
/freebsd-10-stable/contrib/atf/atf-c++.hpp
/freebsd-10-stable/contrib/atf/atf-c++/Kyuafile
/freebsd-10-stable/contrib/atf/atf-c++/atf-c++.3
/freebsd-10-stable/contrib/atf/atf-c++/atf_c++_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/build.cpp
/freebsd-10-stable/contrib/atf/atf-c++/build.hpp
/freebsd-10-stable/contrib/atf/atf-c++/build_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/check.cpp
/freebsd-10-stable/contrib/atf/atf-c++/check.hpp
/freebsd-10-stable/contrib/atf/atf-c++/check_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/config.cpp
/freebsd-10-stable/contrib/atf/atf-c++/config.hpp
/freebsd-10-stable/contrib/atf/atf-c++/config_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/Kyuafile
/freebsd-10-stable/contrib/atf/atf-c++/detail/application.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/application.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/application_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/auto_array.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/auto_array_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/env.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/env.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/env_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/exceptions.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/exceptions.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/exceptions_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/fs.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/fs.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/fs_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/process.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/process.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/process_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/sanity.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/sanity_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/test_helpers.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/test_helpers.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/text.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/text.hpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/text_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/detail/version_helper.cpp
/freebsd-10-stable/contrib/atf/atf-c++/macros.hpp
/freebsd-10-stable/contrib/atf/atf-c++/macros_hpp_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/macros_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/pkg_config_test.sh
/freebsd-10-stable/contrib/atf/atf-c++/tests.cpp
/freebsd-10-stable/contrib/atf/atf-c++/tests.hpp
/freebsd-10-stable/contrib/atf/atf-c++/tests_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/unused_test.cpp
/freebsd-10-stable/contrib/atf/atf-c++/utils.cpp
/freebsd-10-stable/contrib/atf/atf-c++/utils.hpp
/freebsd-10-stable/contrib/atf/atf-c++/utils_test.cpp
/freebsd-10-stable/contrib/atf/atf-c.h
/freebsd-10-stable/contrib/atf/atf-c/Kyuafile
/freebsd-10-stable/contrib/atf/atf-c/atf-c.3
/freebsd-10-stable/contrib/atf/atf-c/atf_c_test.c
/freebsd-10-stable/contrib/atf/atf-c/build.c
/freebsd-10-stable/contrib/atf/atf-c/build.h
/freebsd-10-stable/contrib/atf/atf-c/build_test.c
/freebsd-10-stable/contrib/atf/atf-c/check.c
/freebsd-10-stable/contrib/atf/atf-c/check.h
/freebsd-10-stable/contrib/atf/atf-c/check_test.c
/freebsd-10-stable/contrib/atf/atf-c/config.c
/freebsd-10-stable/contrib/atf/atf-c/config.h
/freebsd-10-stable/contrib/atf/atf-c/config_test.c
/freebsd-10-stable/contrib/atf/atf-c/defs.h.in
/freebsd-10-stable/contrib/atf/atf-c/detail/dynstr.c
/freebsd-10-stable/contrib/atf/atf-c/detail/dynstr.h
/freebsd-10-stable/contrib/atf/atf-c/detail/dynstr_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/env.c
/freebsd-10-stable/contrib/atf/atf-c/detail/env.h
/freebsd-10-stable/contrib/atf/atf-c/detail/env_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/fs.c
/freebsd-10-stable/contrib/atf/atf-c/detail/fs.h
/freebsd-10-stable/contrib/atf/atf-c/detail/fs_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/list.c
/freebsd-10-stable/contrib/atf/atf-c/detail/list.h
/freebsd-10-stable/contrib/atf/atf-c/detail/list_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/map.c
/freebsd-10-stable/contrib/atf/atf-c/detail/map.h
/freebsd-10-stable/contrib/atf/atf-c/detail/map_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/process.c
/freebsd-10-stable/contrib/atf/atf-c/detail/process.h
/freebsd-10-stable/contrib/atf/atf-c/detail/process_helpers.c
/freebsd-10-stable/contrib/atf/atf-c/detail/process_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/sanity.c
/freebsd-10-stable/contrib/atf/atf-c/detail/sanity.h
/freebsd-10-stable/contrib/atf/atf-c/detail/sanity_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/test_helpers.c
/freebsd-10-stable/contrib/atf/atf-c/detail/test_helpers.h
/freebsd-10-stable/contrib/atf/atf-c/detail/text.c
/freebsd-10-stable/contrib/atf/atf-c/detail/text.h
/freebsd-10-stable/contrib/atf/atf-c/detail/text_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/tp_main.c
/freebsd-10-stable/contrib/atf/atf-c/detail/user.c
/freebsd-10-stable/contrib/atf/atf-c/detail/user.h
/freebsd-10-stable/contrib/atf/atf-c/detail/user_test.c
/freebsd-10-stable/contrib/atf/atf-c/detail/version_helper.c
/freebsd-10-stable/contrib/atf/atf-c/error.c
/freebsd-10-stable/contrib/atf/atf-c/error.h
/freebsd-10-stable/contrib/atf/atf-c/error_fwd.h
/freebsd-10-stable/contrib/atf/atf-c/error_test.c
/freebsd-10-stable/contrib/atf/atf-c/h_build.h
/freebsd-10-stable/contrib/atf/atf-c/macros.h
/freebsd-10-stable/contrib/atf/atf-c/macros_h_test.c
/freebsd-10-stable/contrib/atf/atf-c/macros_test.c
/freebsd-10-stable/contrib/atf/atf-c/pkg_config_test.sh
/freebsd-10-stable/contrib/atf/atf-c/tc.c
/freebsd-10-stable/contrib/atf/atf-c/tc.h
/freebsd-10-stable/contrib/atf/atf-c/tc_test.c
/freebsd-10-stable/contrib/atf/atf-c/tp.c
/freebsd-10-stable/contrib/atf/atf-c/tp.h
/freebsd-10-stable/contrib/atf/atf-c/tp_test.c
/freebsd-10-stable/contrib/atf/atf-c/unused_test.c
/freebsd-10-stable/contrib/atf/atf-c/utils.c
/freebsd-10-stable/contrib/atf/atf-c/utils.h
/freebsd-10-stable/contrib/atf/atf-c/utils_test.c
/freebsd-10-stable/contrib/atf/atf-sh/atf-check.1
/freebsd-10-stable/contrib/atf/atf-sh/atf-check.cpp
/freebsd-10-stable/contrib/atf/atf-sh/atf-check_test.sh
/freebsd-10-stable/contrib/atf/atf-sh/atf-sh.1
/freebsd-10-stable/contrib/atf/atf-sh/atf-sh.3
/freebsd-10-stable/contrib/atf/atf-sh/atf-sh.cpp
/freebsd-10-stable/contrib/atf/atf-sh/atf_check_test.sh
/freebsd-10-stable/contrib/atf/atf-sh/config_test.sh
/freebsd-10-stable/contrib/atf/atf-sh/integration_test.sh
/freebsd-10-stable/contrib/atf/atf-sh/libatf-sh.subr
/freebsd-10-stable/contrib/atf/atf-sh/misc_helpers.sh
/freebsd-10-stable/contrib/atf/atf-sh/normalize_test.sh
/freebsd-10-stable/contrib/atf/atf-sh/tc_test.sh
/freebsd-10-stable/contrib/atf/atf-sh/tp_test.sh
/freebsd-10-stable/contrib/atf/bconfig.h
/freebsd-10-stable/contrib/atf/config.h
/freebsd-10-stable/contrib/atf/doc/atf-test-case.4
/freebsd-10-stable/contrib/atf/doc/atf-test-program.1
/freebsd-10-stable/contrib/atf/doc/atf.7.in
/freebsd-10-stable/contrib/atf/test-programs/c_helpers.c
/freebsd-10-stable/contrib/atf/test-programs/common.sh
/freebsd-10-stable/contrib/atf/test-programs/config_test.sh
/freebsd-10-stable/contrib/atf/test-programs/cpp_helpers.cpp
/freebsd-10-stable/contrib/atf/test-programs/expect_test.sh
/freebsd-10-stable/contrib/atf/test-programs/meta_data_test.sh
/freebsd-10-stable/contrib/atf/test-programs/result_test.sh
/freebsd-10-stable/contrib/atf/test-programs/sh_helpers.sh
/freebsd-10-stable/contrib/atf/test-programs/srcdir_test.sh
/freebsd-10-stable/lib/atf/Makefile.inc
/freebsd-10-stable/lib/atf/common.mk
/freebsd-10-stable/lib/atf/libatf-c++/Makefile
/freebsd-10-stable/lib/atf/libatf-c++/tests/Makefile
/freebsd-10-stable/lib/atf/libatf-c++/tests/detail/Makefile
/freebsd-10-stable/lib/atf/libatf-c/Makefile
/freebsd-10-stable/lib/atf/libatf-c/tests/Makefile
/freebsd-10-stable/lib/atf/libatf-c/tests/detail/Makefile
/freebsd-10-stable/libexec/atf/atf-check/Makefile
/freebsd-10-stable/libexec/atf/atf-sh/Makefile
Makefile
/freebsd-10-stable/share/man/man7/Makefile
/freebsd-10-stable/tools/build/mk/OptionalObsoleteFiles.inc
271298 09-Sep-2014 ngie

MFC r267176, r267181, r268445 (ATF-related commits):

Phabric: https://reviews.freebsd.org/D706
Approved by: rpaulo (mentor)
Approved by: re (gjb)
Reviewed by: jmmv
Sponsored by: EMC / Isilon Storage Division

r267176:

Add the *_TESTS_SH_SED_* functionality to atf.test.mk.

This exists already in plain.test.mk and tap.test.mk and should have been
added to atf.test.mk too when the feature was first introduced.

(It is probably time to address the related TODOs but I will do that
separately.)

r267181:

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.

r268445:

Fix atf-sh's integration_test

With the move of atf-sh into /usr/libexec in r267181, some of the
tests in the integration_test program broke because they could not
execute atf-sh from the path any longer.

This slipped through because I do have a local atf installation in
my home directory that appears in my path, hence the tests could
still execute my own version.

Fix this by forcing /usr/libexec to appear at the beginning of the
path when attempting to execute atf-sh.

To make upgrading easy (and to avoid an unnecessary entry in UPDATING),
make integration_test depend on the Makefile so that a rebuild of the
shell script is triggered. This requires a hack in the *.test.mk files
to ensure the Makefile is not treated as a source to the generated
program. Ugly, I know, but I don't have a better way of doing this at
the moment. Will think of one once I address the TODO in the *.test.mk
files that suggests generalizing the file generation functionality.

PR: 191052
Reviewed by: Garrett Cooper

267181 06-Jun-2014 jmmv

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.


263161 14-Mar-2014 jmmv

Make bsd.test.mk the only public mk fragment for the building of tests.

Change {atf,plain,tap}.test.mk to be internal implementation details of
bsd.test.mk. Makefiles that build tests should now only include bsd.test.mk
and declaratively specify what they want to build, without worrying about
the internal implementation of the mk files.

The reason for this change is to permit building test programs of different
interfaces from a single directory, which is something I had a need for
while porting tests over from src/tools/regression/.

Additionally, this change makes it possible to perform some other requested
changes to bsd.test.mk in an easier manner. Coming soon.


260584 13-Jan-2014 jmmv

Prevent misc_helpers from running as a test.

Do this by generating misc_helpers explicitly, without using the
ATF_TESTS_SH functionality.

While this script is technically an atf-sh test program, it is not intended
to be run as a test and therefore it mustn't end up in the Kyuafile. Using
ATF_TESTS_SH means that misc_helpers ended up registered in the Kyuafile
and then failed to run as a test.

The alternative would be to supply an explicit Kyuafile from this directory
that lists the known test files, but doing it the way described above will
be easier to maintain.

MFC after: 3 days


257853 08-Nov-2013 jmmv

Build and install the atf tests.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)