svn commit: r304741 - head/bin/ls/tests

2016-08-24 Thread Julio Merino
Author: jmmv Date: Wed Aug 24 10:10:26 2016 New Revision: 304741 URL: https://svnweb.freebsd.org/changeset/base/304741 Log: Skip ls tests that use sparse files if these are not supported. Some of the ls(1) tests create really large sparse files to validate the number formatting features o

svn commit: r304797 - head/tests/sys/kqueue

2016-08-25 Thread Julio Merino
Author: jmmv Date: Thu Aug 25 10:28:47 2016 New Revision: 304797 URL: https://svnweb.freebsd.org/changeset/base/304797 Log: Make use of Kyua's work directories. Change the vnode tests to use the current directory when creating temporary files, which we can assume is a volatile work direct

svn commit: r262953 - head/tools/regression/usr.bin/m4

2014-03-09 Thread Julio Merino
Author: jmmv Date: Sun Mar 9 19:25:53 2014 New Revision: 262953 URL: http://svnweb.freebsd.org/changeset/base/262953 Log: Fix m4 tests so that they run cleanly with prove. Modified: head/tools/regression/usr.bin/m4/regress.gnusofterror.out head/tools/regression/usr.bin/m4/regress.sh head

svn commit: r262954 - head/tools/regression/usr.bin/printf

2014-03-09 Thread Julio Merino
Author: jmmv Date: Sun Mar 9 19:37:01 2014 New Revision: 262954 URL: http://svnweb.freebsd.org/changeset/base/262954 Log: Fix printf tests so that they run cleanly with prove. Modified: head/tools/regression/usr.bin/printf/regress.sh Modified: head/tools/regression/usr.bin/printf/regress.sh

svn commit: r262959 - head/tools/regression/usr.bin/sed

2014-03-09 Thread Julio Merino
Author: jmmv Date: Sun Mar 9 21:56:29 2014 New Revision: 262959 URL: http://svnweb.freebsd.org/changeset/base/262959 Log: Fix sed tests so that they run cleanly with prove. Modified: head/tools/regression/usr.bin/sed/regress.sh Modified: head/tools/regression/usr.bin/sed/regress.sh

svn commit: r262960 - head/tools/regression/usr.bin/yacc

2014-03-09 Thread Julio Merino
Author: jmmv Date: Sun Mar 9 22:05:23 2014 New Revision: 262960 URL: http://svnweb.freebsd.org/changeset/base/262960 Log: Fix yacc tests so that they run cleanly with prove. First, change the driver to run the installed yacc instead of the one from /usr/obj (which might not be there), ju

svn commit: r262961 - head/tools/regression/usr.bin/pkill

2014-03-09 Thread Julio Merino
Author: jmmv Date: Sun Mar 9 22:14:20 2014 New Revision: 262961 URL: http://svnweb.freebsd.org/changeset/base/262961 Log: Fix pkill tests so that they run cleanly with prove. This fixes a pgrep test that assumed that PID 2 was named g_event. This does not seem to be the case any longer

svn commit: r262962 - head/tools/regression/usr.bin/ncal

2014-03-09 Thread Julio Merino
Author: jmmv Date: Sun Mar 9 22:16:39 2014 New Revision: 262962 URL: http://svnweb.freebsd.org/changeset/base/262962 Log: Fix ncal tests so that they run cleanly with prove. Basically just make the test plan match what is actually being run. Modified: head/tools/regression/usr.bin/ncal/

svn commit: r263081 - head/tools/regression/usr.bin/lastcomm

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 10:35:22 2014 New Revision: 263081 URL: http://svnweb.freebsd.org/changeset/base/263081 Log: Fix lastcomm tests under amd64. Force the use of TZ=UTC and adjust data files accordingly. I have no means to verify that the data files for the other architectures

svn commit: r263082 - head/tools/regression/usr.bin/make

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 10:38:32 2014 New Revision: 263082 URL: http://svnweb.freebsd.org/changeset/base/263082 Log: Only run the make tests when make is fmake. Because bmake is the default make being built, many of the tests here fail due to differences between the two. Just skip

svn commit: r263083 - head/tools/regression/usr.sbin/sa

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 10:41:14 2014 New Revision: 263083 URL: http://svnweb.freebsd.org/changeset/base/263083 Log: Fix sa tests. Small divergences in the output padding made some sa tests fail. Just trim all whitespace from the outputs and the golden files so comparisons are le

svn commit: r263084 - head/tools/regression/sbin/mdconfig

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 10:42:58 2014 New Revision: 263084 URL: http://svnweb.freebsd.org/changeset/base/263084 Log: Turn a test precondition into a skip in the mdconfig tests. Tests that cannot be run because a precondition is not met should be marked as skipped, not failed. Do th

svn commit: r263085 - head/tools/regression/lib/libc/string

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 10:45:22 2014 New Revision: 263085 URL: http://svnweb.freebsd.org/changeset/base/263085 Log: Make the strerror tests work without libtap. Just replace the simple calls to the library with ad-hoc code. We should later rewrite these with the ATF libraries anyw

svn commit: r263087 - head/tools/regression/lib/libc/net

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 10:59:51 2014 New Revision: 263087 URL: http://svnweb.freebsd.org/changeset/base/263087 Log: Remove broken tests for eui64_line. This function is not public and brooks (initial committer adding the code) suggests the deletion of the tests (which I don't know

svn commit: r263089 - head/tools/build/options

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 11:53:35 2014 New Revision: 263089 URL: http://svnweb.freebsd.org/changeset/base/263089 Log: Fix description of WITHOUT_BMAKE's purpose. This variable exists to select fmake, not bmake. (I suspect the comment might have come from a time when this was named W

svn commit: r263090 - head/lib/libc/net

2014-03-12 Thread Julio Merino
Author: jmmv Date: Wed Mar 12 12:27:13 2014 New Revision: 263090 URL: http://svnweb.freebsd.org/changeset/base/263090 Log: Make ether_line really report an error when all input is invalid. The previous code failed to return an error condition when the whole input was invalid due to improp

svn commit: r263161 - in head: bin/date/tests bin/mv/tests bin/pax/tests bin/sh/tests bin/test/tests lib/atf/libatf-c++/tests lib/atf/libatf-c++/tests/detail lib/atf/libatf-c/tests lib/atf/libatf-c...

2014-03-14 Thread Julio Merino
Author: jmmv Date: Fri Mar 14 08:56:19 2014 New Revision: 263161 URL: http://svnweb.freebsd.org/changeset/base/263161 Log: 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. Makefile

svn commit: r263172 - head/share/mk

2014-03-14 Thread Julio Merino
Author: jmmv Date: Fri Mar 14 12:52:55 2014 New Revision: 263172 URL: http://svnweb.freebsd.org/changeset/base/263172 Log: Move FreeBSD Test Suite-specific code to a suite.test.mk file. The new suite.test.mk file contains all the logic needed to install test programs under /usr/tests/ and

svn commit: r263173 - head/share/examples/tests/tests/atf

2014-03-14 Thread Julio Merino
Author: jmmv Date: Fri Mar 14 12:55:06 2014 New Revision: 263173 URL: http://svnweb.freebsd.org/changeset/base/263173 Log: Remove unnecessary svn:executable property from source file. The atf cp_test.sh sample file should have never been marked executable in the first place because this f

svn commit: r263204 - head/share/mk

2014-03-15 Thread Julio Merino
Author: jmmv Date: Sat Mar 15 09:27:59 2014 New Revision: 263204 URL: http://svnweb.freebsd.org/changeset/base/263204 Log: Add some documentation for bsd.test.mk. Modified: head/share/mk/bsd.README Modified: head/share/mk/bsd.README ===

svn commit: r263217 - head/share/mk

2014-03-15 Thread Julio Merino
Author: jmmv Date: Sun Mar 16 01:22:23 2014 New Revision: 263217 URL: http://svnweb.freebsd.org/changeset/base/263217 Log: Document support for TAP-compliant Perl test programs. Modified: head/share/mk/bsd.README Modified: head/share/mk/bsd.README

svn commit: r263220 - in head: etc/mtree sbin sbin/dhclient sbin/dhclient/tests sbin/growfs sbin/growfs/tests sbin/mdconfig sbin/mdconfig/tests sbin/tests tools/regression/sbin

2014-03-15 Thread Julio Merino
Author: jmmv Date: Sun Mar 16 02:07:08 2014 New Revision: 263220 URL: http://svnweb.freebsd.org/changeset/base/263220 Log: Migrate tools/regression/sbin/ to the new tests layout. Pretty much all that this change does is shuffles the code around and hooks it into the regular build. The co

svn commit: r263221 - head/tools/regression/usr.sbin/etcupdate

2014-03-15 Thread Julio Merino
Author: jmmv Date: Sun Mar 16 02:27:27 2014 New Revision: 263221 URL: http://svnweb.freebsd.org/changeset/base/263221 Log: Change etcupdate tests to return 1 on test failures. This is a prerequisite for hooking these tests into the test suite. And, fortunately, all tests seem to pass! M

svn commit: r263222 - head/sbin/mdconfig/tests

2014-03-15 Thread Julio Merino
Author: jmmv Date: Sun Mar 16 02:32:44 2014 New Revision: 263222 URL: http://svnweb.freebsd.org/changeset/base/263222 Log: Add Makefile missed in r263220. Added: head/sbin/mdconfig/tests/Makefile (contents, props changed) Added: head/sbin/mdconfig/tests/Makefile ===

svn commit: r263226 - in head: etc/mtree tools/regression/usr.bin tools/regression/usr.bin/lastcomm tools/regression/usr.sbin usr.bin/lastcomm usr.bin/lastcomm/tests usr.sbin usr.sbin/etcupdate usr...

2014-03-15 Thread Julio Merino
Author: jmmv Date: Sun Mar 16 04:09:22 2014 New Revision: 263226 URL: http://svnweb.freebsd.org/changeset/base/263226 Log: Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. This change was originally going to only migrate the usr.sbin tests but, as it turns ou

svn commit: r263227 - in head: etc/mtree tools/regression/usr.bin tools/regression/usr.bin/apply tools/regression/usr.bin/calendar tools/regression/usr.bin/comm tools/regression/usr.bin/file2c tool...

2014-03-16 Thread Julio Merino
Author: jmmv Date: Sun Mar 16 08:04:06 2014 New Revision: 263227 URL: http://svnweb.freebsd.org/changeset/base/263227 Log: Migrate most of tools/regression/usr.bin/ to the new tests layout. I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note

svn commit: r263345 - head/etc/mtree

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 12:06:51 2014 New Revision: 263345 URL: http://svnweb.freebsd.org/changeset/base/263345 Log: Expand tabs that sneaked in into spaces. Problem introduced by r263227. Spotted by Alan Somers. Modified: head/etc/mtree/BSD.tests.dist Modified: head/etc/mtree/BS

svn commit: r263346 - in head: etc/mtree tools/build/mk tools/regression/usr.bin/make usr.bin/make usr.bin/make/tests usr.bin/make/tests/archives/fmt_44bsd usr.bin/make/tests/archives/fmt_44bsd_mod...

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 12:29:20 2014 New Revision: 263346 URL: http://svnweb.freebsd.org/changeset/base/263346 Log: Migrate tools/regression/usr.bin/make/ to the new tests layout. Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is

svn commit: r263348 - in head/usr.bin/make/tests: . archives archives/fmt_44bsd archives/fmt_44bsd_mod archives/fmt_oldbsd basic basic/t0 basic/t1 basic/t2 basic/t3 execution execution/ellipsis exe...

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 12:32:50 2014 New Revision: 263348 URL: http://svnweb.freebsd.org/changeset/base/263348 Log: Add Makefiles missed in r263346. Grrr, I wish svn clearly displayed files not yet added when about to commit. Added: head/usr.bin/make/tests/Makefile (contents, pr

svn commit: r263351 - in head: bin/pkill bin/pkill/tests etc/mtree tools/regression/usr.bin/pkill

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 12:46:04 2014 New Revision: 263351 URL: http://svnweb.freebsd.org/changeset/base/263351 Log: Migrate tools/regression/usr.bin/pkill to the new tests layout. Interestingly, the pkill tool lives in bin, not usr.bin. Haven't bothered to check if this is because

svn commit: r263352 - head/tools/regression/priv

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 12:51:40 2014 New Revision: 263352 URL: http://svnweb.freebsd.org/changeset/base/263352 Log: Make the priv test program exit with non-zero if any failures are detected. And, mind you, this already returns a failure :-/ Modified: head/tools/regression/priv/ma

svn commit: r263353 - head/tools/regression/priv

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 12:52:49 2014 New Revision: 263353 URL: http://svnweb.freebsd.org/changeset/base/263353 Log: errx prepends the program name to the message; don't do it by hand. Modified: head/tools/regression/priv/main.c Modified: head/tools/regression/priv/main.c =

svn commit: r263362 - head/sys/net

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 13:10:25 2014 New Revision: 263362 URL: http://svnweb.freebsd.org/changeset/base/263362 Log: Include strings.h so that bpf_filter.c can be built in userland. This is to bring in a definition for bzero(3), which in turn allows the tests in tools/regression/bpf

svn commit: r263388 - head/usr.bin/sed/tests

2014-03-19 Thread Julio Merino
Author: jmmv Date: Wed Mar 19 23:29:00 2014 New Revision: 263388 URL: http://svnweb.freebsd.org/changeset/base/263388 Log: Mark multi_test as requiring /usr/share/dict/words. The file may not be present if MK_DICT=no. Pointed out by Casey Peel. Modified: head/usr.bin/sed/tests/Makefile

svn commit: r263814 - head/sbin/mdconfig/tests

2014-03-27 Thread Julio Merino
Author: jmmv Date: Thu Mar 27 13:15:22 2014 New Revision: 263814 URL: http://svnweb.freebsd.org/changeset/base/263814 Log: Fix path to the run.pl script to let these tests run. Submitted by: Peel, Casey Obtained from:freebsd-testing Modified: head/sbin/mdconfig/tests/legacy_tes

Re: svn commit: r263346 - in head: etc/mtree tools/build/mk tools/regression/usr.bin/make usr.bin/make usr.bin/make/tests usr.bin/make/tests/archives/fmt_44bsd usr.bin/make/tests/archives/fmt_44bsd_mo

2014-03-28 Thread Julio Merino
On Wed, Mar 26, 2014 at 12:25 AM, Dag-Erling Smørgrav wrote: > Julio Merino writes: >> Log: >> Migrate tools/regression/usr.bin/make/ to the new tests layout. >> >> Note that these tests are for fmake, not bmake, and thus they are not >> installed no

svn commit: r263989 - in head: contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-sh etc/mtree lib/atf/libatf-c lib/atf/libatf-c++ usr.bin/atf/atf-sh

2014-04-01 Thread Julio Merino
Author: jmmv Date: Tue Apr 1 13:47:08 2014 New Revision: 263989 URL: http://svnweb.freebsd.org/changeset/base/263989 Log: 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

svn commit: r264133 - head/tests/sys/kern

2014-04-04 Thread Julio Merino
Author: jmmv Date: Fri Apr 4 18:10:11 2014 New Revision: 264133 URL: http://svnweb.freebsd.org/changeset/base/264133 Log: Fix variable type to avoid printf formatter warning. This fixes the build under powerpc64 where gcc complains about a mismatch between a %zd printf formatter and an i

svn commit: r264408 - head/tools/build/options

2014-04-13 Thread Julio Merino
Author: jmmv Date: Sun Apr 13 11:29:52 2014 New Revision: 264408 URL: http://svnweb.freebsd.org/changeset/base/264408 Log: Fix test suite name in src.conf(5). There is no such thing as the "Kyua test suite"; it is the "FreeBSD Test Suite". While doing this, point readers to tests(7).

svn commit: r264409 - head/share/man/man5

2014-04-13 Thread Julio Merino
Author: jmmv Date: Sun Apr 13 11:31:41 2014 New Revision: 264409 URL: http://svnweb.freebsd.org/changeset/base/264409 Log: Regen after rewording of WITH_TESTS. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r264410 - head/share/man/man7

2014-04-13 Thread Julio Merino
Author: jmmv Date: Sun Apr 13 11:35:42 2014 New Revision: 264410 URL: http://svnweb.freebsd.org/changeset/base/264410 Log: Document how to install the test suite. As part of this, install the tests(7) manual page unconditionally (not only when WITH_TESTS=yes) so that users that have not y

svn commit: r264412 - head/gnu/usr.bin/groff/tmac

2014-04-13 Thread Julio Merino
Author: jmmv Date: Sun Apr 13 11:57:51 2014 New Revision: 264412 URL: http://svnweb.freebsd.org/changeset/base/264412 Log: Add FreeBSD 10.1 to the list of recognized releases for Fx. This version is already mentioned by 4 manual pages. Modified: head/gnu/usr.bin/groff/tmac/mdoc.local Mo

svn commit: r264413 - head/share/man/man7

2014-04-13 Thread Julio Merino
h AUTHORS -.An Julio Merino Aq Mt j...@google.com +.An Julio Merino Aq Mt j...@freebsd.org ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r264741 - in head: cddl cddl/lib cddl/lib/tests cddl/sbin cddl/sbin/tests cddl/tests cddl/usr.bin cddl/usr.bin/tests cddl/usr.sbin cddl/usr.sbin/tests etc etc/mtree etc/tests games game...

2014-04-21 Thread Julio Merino
Author: jmmv Date: Mon Apr 21 21:39:25 2014 New Revision: 264741 URL: http://svnweb.freebsd.org/changeset/base/264741 Log: Add placeholder Kyuafiles for various top-level hierarchies. This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ an

svn commit: r264742 - head

2014-04-21 Thread Julio Merino
Author: jmmv Date: Mon Apr 21 22:36:31 2014 New Revision: 264742 URL: http://svnweb.freebsd.org/changeset/base/264742 Log: Prevent building tests when bootstrapping make. Should fix the breakage reported by tinderbox when WITHOUT_BMAKE is set, which was probably introduced in r263346.. M

Re: svn commit: r263346 - in head: etc/mtree tools/build/mk tools/regression/usr.bin/make usr.bin/make usr.bin/make/tests usr.bin/make/tests/archives/fmt_44bsd usr.bin/make/tests/archives/fmt_44bsd_mo

2014-04-21 Thread Julio Merino
On Fri, Mar 28, 2014 at 1:32 AM, Julio Merino wrote: > On Wed, Mar 26, 2014 at 12:25 AM, Dag-Erling Smørgrav wrote: >> Julio Merino writes: >>> Log: >>> Migrate tools/regression/usr.bin/make/ to the new tests layout. >>> >>> Note that these test

svn commit: r265933 - head/tools/build/mk

2014-05-12 Thread Julio Merino
Author: jmmv Date: Mon May 12 21:21:32 2014 New Revision: 265933 URL: http://svnweb.freebsd.org/changeset/base/265933 Log: Fix delete-old when WITH_TESTS is set. r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional in OptionalObsoleteFiles.inc that inspected MK_BMAK

svn commit: r266074 - in head: etc/mtree usr.bin/bmake usr.bin/bmake/tests usr.bin/bmake/tests/archives usr.bin/bmake/tests/archives/fmt_44bsd usr.bin/bmake/tests/archives/fmt_44bsd_mod usr.bin/bma...

2014-05-14 Thread Julio Merino
Author: jmmv Date: Wed May 14 18:43:13 2014 New Revision: 266074 URL: http://svnweb.freebsd.org/changeset/base/266074 Log: Move old fmake tests into bmake and hook them to the build. This first step is mostly to prevent the code from rotting even further and to ensure these do not get wip

Re: svn commit: r266104 - head/usr.bin/bmake

2014-05-15 Thread Julio Merino
On May 14, 2014, at 21:27, Warner Losh wrote: > Author: imp > Date: Thu May 15 01:27:24 2014 > New Revision: 266104 > URL: http://svnweb.freebsd.org/changeset/base/266104 > > Log: > Undo changes to the generated Makefile. Move tests directory to proper > location, including updating the test t

Re: svn commit: r266581 - in head: etc/mtree include lib/libcuse sys/conf sys/fs/cuse sys/modules/cuse

2014-05-24 Thread Julio Merino
On Fri, May 23, 2014 at 4:46 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Fri May 23 08:46:28 2014 > New Revision: 266581 > URL: http://svnweb.freebsd.org/changeset/base/266581 > > Modified: head/etc/mtree/BSD.include.dist >

svn commit: r266650 - in head: contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-sh etc/mtree lib/atf/libatf-c lib/atf/libatf-c++ lib/atf/libatf-c++/tests lib/atf/libatf-c/tests lib...

2014-05-25 Thread Julio Merino
Author: jmmv Date: Sun May 25 12:01:13 2014 New Revision: 266650 URL: http://svnweb.freebsd.org/changeset/base/266650 Log: 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 com

svn commit: r267033 - in head: share/man/man5 tools/build/options

2014-06-03 Thread Julio Merino
Author: jmmv Date: Tue Jun 3 22:34:27 2014 New Revision: 267033 URL: http://svnweb.freebsd.org/changeset/base/267033 Log: Merge (unused) documentation of WITHOUT_TESTS into WITH_TESTS. The description of WITH/WITHOUT tweaks should only document the non-default option. TESTS still defaul

svn commit: r267172 - in head: . lib/atf/libatf-c lib/atf/libatf-c++ tools/build/mk

2014-06-06 Thread Julio Merino
Author: jmmv Date: Fri Jun 6 17:05:43 2014 New Revision: 267172 URL: http://svnweb.freebsd.org/changeset/base/267172 Log: Homogenize libatf-* version numbers with upstream. The libatf-* major version numbers in FreeBSD were one version ahead of upstream because, when atf was first import

svn commit: r267176 - head/share/mk

2014-06-06 Thread Julio Merino
Author: jmmv Date: Fri Jun 6 17:53:05 2014 New Revision: 267176 URL: http://svnweb.freebsd.org/changeset/base/267176 Log: 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 fea

svn commit: r267181 - in head: . etc/mtree libexec/atf libexec/atf/atf-check libexec/atf/atf-sh libexec/atf/atf-sh/tests share/mk tools/build/mk usr.bin usr.bin/atf

2014-06-06 Thread Julio Merino
Author: jmmv Date: Fri Jun 6 18:58:06 2014 New Revision: 267181 URL: http://svnweb.freebsd.org/changeset/base/267181 Log: 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 unint

svn commit: r267276 - head/share/mk

2014-06-09 Thread Julio Merino
Author: jmmv Date: Mon Jun 9 14:36:49 2014 New Revision: 267276 URL: http://svnweb.freebsd.org/changeset/base/267276 Log: Ensure files are created during the build when using bsd.subdir.mk. When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the build of the files (if

svn commit: r267331 - in head: . etc share/mk

2014-06-10 Thread Julio Merino
Author: jmmv Date: Tue Jun 10 17:04:30 2014 New Revision: 267331 URL: http://svnweb.freebsd.org/changeset/base/267331 Log: Put the test suite in its own tests.txz distribution file. Force all the contents of /usr/tests to go into a separate distribution file so that users of binary releas

svn commit: r267332 - head/release

2014-06-10 Thread Julio Merino
Author: jmmv Date: Tue Jun 10 17:05:41 2014 New Revision: 267332 URL: http://svnweb.freebsd.org/changeset/base/267332 Log: Strip out the test suite from the installation media. This affects the disc1.iso, dvd1.iso and bootonly.iso files. Obtained from:gjb Modified: head/rele

svn commit: r267424 - in head: share/mk tools/build/options

2014-06-12 Thread Julio Merino
Author: jmmv Date: Thu Jun 12 18:54:52 2014 New Revision: 267424 URL: http://svnweb.freebsd.org/changeset/base/267424 Log: Enable MK_TESTS by default. This was never intended to be off by default but was done this way because the initial patches broke the build. Things seem stable now

svn commit: r267425 - head/share/man/man5

2014-06-12 Thread Julio Merino
Author: jmmv Date: Thu Jun 12 18:59:25 2014 New Revision: 267425 URL: http://svnweb.freebsd.org/changeset/base/267425 Log: Regen after r267424 to replace WITH_TESTS with WITHOUT_TESTS. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 =

svn commit: r268445 - in head: libexec/atf/atf-sh/tests share/mk

2014-07-08 Thread Julio Merino
Author: jmmv Date: Wed Jul 9 00:55:50 2014 New Revision: 268445 URL: http://svnweb.freebsd.org/changeset/base/268445 Log: 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 e

Re: svn commit: r267424 - in head: share/mk tools/build/options

2014-07-08 Thread Julio Merino
On Thu, Jun 12, 2014 at 8:20 PM, Glen Barber wrote: > On Thu, Jun 12, 2014 at 07:56:47PM -0400, Glen Barber wrote: >> On Thu, Jun 12, 2014 at 06:54:53PM +0000, Julio Merino wrote: >> > Author: jmmv >> > Date: Thu Jun 12 18:54:52 2014 >> > New Revision: 267424

Re: svn commit: r267424 - in head: share/mk tools/build/options

2014-07-08 Thread Julio Merino
On Tue, Jul 8, 2014 at 9:07 PM, Glen Barber wrote: > This is one of the build failure cases: > > https://lists.freebsd.org/pipermail/freebsd-tinderbox/2014-June/014357.html Am I reading that right in that this was on a 9.2-STABLE host building HEAD? ___

Re: svn commit: r267424 - in head: share/mk tools/build/options

2014-07-08 Thread Julio Merino
On Tue, Jul 8, 2014 at 10:32 PM, Glen Barber wrote: > On Tue, Jul 08, 2014 at 10:28:25PM -0400, Julio Merino wrote: >> On Tue, Jul 8, 2014 at 9:07 PM, Glen Barber wrote: >> > This is one of the build failure cases: >> > >> > https://lists.freebsd.org/pipermai

Re: svn commit: r267424 - in head: share/mk tools/build/options

2014-07-11 Thread Julio Merino
On Tue, Jul 8, 2014 at 10:34 PM, Julio Merino wrote: > > OK. Regardless, I suppose that being able to build HEAD from the > supported releases is supposed to work? Even from 8.4? Will > investigate for 9.x. Alright. I could reproduce this... but it was not obvious. A "make

svn commit: r268598 - head

2014-07-13 Thread Julio Merino
Author: jmmv Date: Sun Jul 13 23:53:41 2014 New Revision: 268598 URL: http://svnweb.freebsd.org/changeset/base/268598 Log: Explicitly disable the build of tests when building bmake. During "make buildworld", building bmake is (one of) the very first steps and we should not be building any

Re: svn commit: r267424 - in head: share/mk tools/build/options

2014-07-13 Thread Julio Merino
On Fri, Jul 11, 2014 at 8:17 PM, Julio Merino wrote: > On Tue, Jul 8, 2014 at 10:34 PM, Julio Merino wrote: >> >> OK. Regardless, I suppose that being able to build HEAD from the >> supported releases is supposed to work? Even from 8.4? Will >> investigate fo

svn commit: r268620 - head/lib/libc/net

2014-07-14 Thread Julio Merino
Author: jmmv Date: Mon Jul 14 13:53:10 2014 New Revision: 268620 URL: http://svnweb.freebsd.org/changeset/base/268620 Log: Make generation of nslexer.c more robust. Ensure that lex errors fail the build instead of being silently ignored due to the piped call. Also postpone the update of

Re: svn commit: r267679 - in head: etc/mtree libexec/rtld-elf libexec/rtld-elf/tests libexec/rtld-elf/tests/libpythagoras libexec/rtld-elf/tests/target

2014-07-14 Thread Julio Merino
On Fri, Jun 20, 2014 at 1:14 PM, Jonathan Anderson wrote: > Author: jonathan > Date: Fri Jun 20 17:14:59 2014 > New Revision: 267679 > URL: http://svnweb.freebsd.org/changeset/base/267679 > > Log: > Test RTLD's new LD_LIBRARY_PATH_FDS variable. This breaks "make tinderbox" when WITH_TESTS is se

svn commit: r268770 - head/libexec/rtld-elf/tests/libpythagoras

2014-07-16 Thread Julio Merino
Author: jmmv Date: Wed Jul 16 16:42:58 2014 New Revision: 268770 URL: http://svnweb.freebsd.org/changeset/base/268770 Log: libpythagoras needs libm. This fixes "make tinderbox" failures on various architectures when WITH_TESTS=yes is enabled. Problem introduced in r267679. Modified: h

Re: svn commit: r267679 - in head: etc/mtree libexec/rtld-elf libexec/rtld-elf/tests libexec/rtld-elf/tests/libpythagoras libexec/rtld-elf/tests/target

2014-07-16 Thread Julio Merino
On Mon, Jul 14, 2014 at 7:35 PM, Julio Merino wrote: > On Fri, Jun 20, 2014 at 1:14 PM, Jonathan Anderson > wrote: >> Author: jonathan >> Date: Fri Jun 20 17:14:59 2014 >> New Revision: 267679 >> URL: http://svnweb.freebsd.org/changeset/base/267679 &

svn commit: r268778 - in head: share/mk tools/build/options

2014-07-16 Thread Julio Merino
Author: jmmv Date: Wed Jul 16 21:40:11 2014 New Revision: 268778 URL: http://svnweb.freebsd.org/changeset/base/268778 Log: Enable MK_TESTS by default, take 2. This is a redo of r267424, which was reverted in r267432 because it broke "make buildworld" from FreeBSD 9.x. This issue has been

svn commit: r268779 - head/share/man/man5

2014-07-16 Thread Julio Merino
Author: jmmv Date: Wed Jul 16 21:43:24 2014 New Revision: 268779 URL: http://svnweb.freebsd.org/changeset/base/268779 Log: Regen after r268778 to replace WITH_TESTS with WITHOUT_TESTS. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 =

Re: svn commit: r268779 - head/share/man/man5

2014-07-16 Thread Julio Merino
On Wed, Jul 16, 2014 at 6:16 PM, Baptiste Daroussin wrote: > On Wed, Jul 16, 2014 at 09:43:24PM +0000, Julio Merino wrote: >> Author: jmmv >> Date: Wed Jul 16 21:43:24 2014 >> New Revision: 268779 >> URL: http://svnweb.freebsd.org/changeset/base/268779 >> &g

Re: svn commit: r268812 - head/etc/mtree

2014-07-24 Thread Julio Merino
On Thu, Jul 17, 2014 at 6:26 PM, Baptiste Daroussin wrote: > Author: bapt > Date: Thu Jul 17 22:26:24 2014 > New Revision: 268812 > URL: http://svnweb.freebsd.org/changeset/base/268812 > > Log: > Add the mtree entry for yacc tests > > Modified: > head/etc/mtree/BSD.tests.dist > > Modified: hea

Re: svn commit: r268794 - in head: etc/mtree usr.bin/units usr.bin/units/tests

2014-07-24 Thread Julio Merino
On Thu, Jul 17, 2014 at 3:12 AM, Eitan Adler wrote: > Author: eadler > Date: Thu Jul 17 07:12:12 2014 > New Revision: 268794 > URL: http://svnweb.freebsd.org/changeset/base/268794 > > Log: > units(1): Add basic tests > Add some tests to help avoid breaking units > > Added: > head/usr.b

Re: svn commit: r266650 - in head: contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-sh etc/mtree lib/atf/libatf-c lib/atf/libatf-c++ lib/atf/libatf-c++/tests lib/atf/libatf-c/tests li

2014-07-24 Thread Julio Merino
On Thu, Jul 24, 2014 at 6:00 PM, Alan Somers wrote: > On Sun, May 25, 2014 at 6:01 AM, Julio Merino wrote: >> Author: jmmv >> Date: Sun May 25 12:01:13 2014 >> New Revision: 266650 >> URL: http://svnweb.freebsd.org/changeset/base/266650 >> >> Log: &g

svn commit: r269084 - in head: tools/build/mk usr.bin/units/tests

2014-07-24 Thread Julio Merino
Author: jmmv Date: Fri Jul 25 01:29:22 2014 New Revision: 269084 URL: http://svnweb.freebsd.org/changeset/base/269084 Log: Fix structure of new tests (r268794) for usr.bin/units. - Make sure the tests go into the right directory. The location was wrong so they were overwriting the bin/

Re: svn commit: r268794 - in head: etc/mtree usr.bin/units usr.bin/units/tests

2014-07-24 Thread Julio Merino
On Thu, Jul 24, 2014 at 3:55 PM, Eitan Adler wrote: > My computer is out of commission at the moment. Would you mind making > this change for me? Thanks for letting me know! Renamed. And also fixed the value of TESTSDIR to get these tests in the right place.

Re: svn commit: r268811 - in head: contrib/byacc contrib/byacc/package contrib/byacc/package/debian contrib/byacc/package/pkgsrc contrib/byacc/test contrib/byacc/test/btyacc contrib/byacc/test/yacc us

2014-07-25 Thread Julio Merino
On Thu, Jul 17, 2014 at 6:22 PM, Baptiste Daroussin wrote: > Author: bapt > Date: Thu Jul 17 22:22:38 2014 > New Revision: 268811 > URL: http://svnweb.freebsd.org/changeset/base/268811 > > Log: > Update to byacc 20140715 (only concerns regression tests being fixed) > Directly use regression te

svn commit: r259208 - head/share/mk

2013-12-10 Thread Julio Merino
Author: jmmv Date: Wed Dec 11 03:39:50 2013 New Revision: 259208 URL: http://svnweb.freebsd.org/changeset/base/259208 Log: Add tap.test.mk. This file provides support to build test programs that comply with the Test Anything Protocol. Its main goal is to support the painless integratio

svn commit: r259209 - head/share/mk

2013-12-10 Thread Julio Merino
Author: jmmv Date: Wed Dec 11 03:41:07 2013 New Revision: 259209 URL: http://svnweb.freebsd.org/changeset/base/259209 Log: Make bsd.progs.mk work in directories with SCRIPTS but no PROGS. This change fixes some cases where bsd.progs.mk would fail to handle directories with SCRIPTS but no

svn commit: r259210 - in head: bin bin/date bin/date/tests bin/mv bin/mv/tests bin/pax bin/pax/tests bin/sh bin/sh/tests bin/sh/tests/builtins bin/sh/tests/errors bin/sh/tests/execution bin/sh/test...

2013-12-10 Thread Julio Merino
Author: jmmv Date: Wed Dec 11 04:09:17 2013 New Revision: 259210 URL: http://svnweb.freebsd.org/changeset/base/259210 Log: Migrate tools/regression/bin/ tests to the new layout. This change is a proof of concept on how to easily integrate existing tests from the tools/regression/ hierarch

svn commit: r259868 - head/release

2013-12-25 Thread Julio Merino
Author: jmmv Date: Wed Dec 25 13:57:23 2013 New Revision: 259868 URL: http://svnweb.freebsd.org/changeset/base/259868 Log: Delay copying of resolv.conf into the chroot until /etc exists. With an unpopulated chroot dir, release building was failing because the script was attempting to copy

svn commit: r259881 - head/release

2013-12-25 Thread Julio Merino
Author: jmmv Date: Wed Dec 25 18:25:58 2013 New Revision: 259881 URL: http://svnweb.freebsd.org/changeset/base/259881 Log: Put the release objdir inside the chroot. When building the system from outside the chroot as part of the release process, ensure the objdir is within the chroot so t

Re: svn commit: r259881 - head/release

2013-12-26 Thread Julio Merino
On Thu, Dec 26, 2013 at 11:14 AM, John Baldwin wrote: > On Wednesday, December 25, 2013 1:25:58 pm Julio Merino wrote: > > Author: jmmv > > Date: Wed Dec 25 18:25:58 2013 > > New Revision: 259881 > > URL: http://svnweb.freebsd.org/changeset/base/259881 > > >

svn commit: r260491 - head/contrib/atf/atf-c++/detail

2014-01-09 Thread Julio Merino
Author: jmmv Date: Thu Jan 9 18:53:21 2014 New Revision: 260491 URL: http://svnweb.freebsd.org/changeset/base/260491 Log: Use .cpp as the extension for temporary C++ files. Using a .c extension for a C++ file raises the following warning, which breaks our header file tests if the compile

svn commit: r260506 - in head/bin: sh/tests test/tests

2014-01-10 Thread Julio Merino
Author: jmmv Date: Fri Jan 10 10:39:01 2014 New Revision: 260506 URL: http://svnweb.freebsd.org/changeset/base/260506 Log: Run the sh(1) and test(1) tests as unprivileged. One of the tests for test(1) fails and some of the tests for sh(1) are silently bypassed when running as root. T

svn commit: r260525 - in head: etc/mtree lib/atf/libatf-c++/tests lib/atf/libatf-c++/tests/detail lib/atf/libatf-c/tests lib/atf/libatf-c/tests/detail tools/build/mk

2014-01-10 Thread Julio Merino
Author: jmmv Date: Fri Jan 10 23:38:33 2014 New Revision: 260525 URL: http://svnweb.freebsd.org/changeset/base/260525 Log: Respect the original layout of the atf-{c,c++} tests. Put test programs for internal modules into a 'detail' subdirectory of the libatf-c and libatf-c++ test director

svn commit: r260526 - in head: contrib/atf/atf-c++/detail lib/atf

2014-01-10 Thread Julio Merino
Author: jmmv Date: Fri Jan 10 23:41:01 2014 New Revision: 260526 URL: http://svnweb.freebsd.org/changeset/base/260526 Log: Fix path to the process_helpers for the libatf-c++ tests. Because we respect the FreeBSD src tree layout under /usr/tests, and because the layout of the tests in the

svn commit: r260576 - in head: lib/atf lib/atf/libatf-c lib/atf/libatf-c++ usr.bin/atf/atf-sh

2014-01-12 Thread Julio Merino
Author: jmmv Date: Sun Jan 12 21:56:26 2014 New Revision: 260576 URL: http://svnweb.freebsd.org/changeset/base/260576 Log: Generate and install pkg-config files for atf. These files are required to get packages in ports to build against atf and also to get a couple of currently-failing te

svn commit: r260577 - in head/contrib/atf: . atf-c atf-c++ atf-sh

2014-01-12 Thread Julio Merino
Author: jmmv Date: Sun Jan 12 22:17:10 2014 New Revision: 260577 URL: http://svnweb.freebsd.org/changeset/base/260577 Log: 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.

svn commit: r260584 - head/usr.bin/atf/atf-sh/tests

2014-01-13 Thread Julio Merino
Author: jmmv Date: Mon Jan 13 10:47:26 2014 New Revision: 260584 URL: http://svnweb.freebsd.org/changeset/base/260584 Log: 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 te

svn commit: r260586 - head/bin/pax/tests

2014-01-13 Thread Julio Merino
Author: jmmv Date: Mon Jan 13 12:17:41 2014 New Revision: 260586 URL: http://svnweb.freebsd.org/changeset/base/260586 Log: Mark the bin/pax tests as requiring perl. The effect of this is that the test program is marked as skipped when perl is missing, instead of marking it as broken due t

Re: svn commit: r260586 - head/bin/pax/tests

2014-01-13 Thread Julio Merino
On Jan 13, 2014, at 14:59, Baptiste Daroussin wrote: > On Mon, Jan 13, 2014 at 12:17:41PM +0000, Julio Merino wrote: >> +tap_test_program{name="legacy_test", required_programs="/usr/bin/perl"} > > Shouldn't that be /usr/local/bin/perl or ${LOCALBASE}/bi

svn commit: r260632 - head/share/mk

2014-01-14 Thread Julio Merino
Author: jmmv Date: Tue Jan 14 18:32:47 2014 New Revision: 260632 URL: http://svnweb.freebsd.org/changeset/base/260632 Log: Support defining test program metadata from the Makefiles. Introduce a new, per-test-program TEST_METADATA. variable that contains a list of key/value paris describin

svn commit: r260633 - head/share/mk

2014-01-14 Thread Julio Merino
Author: jmmv Date: Tue Jan 14 18:35:56 2014 New Revision: 260633 URL: http://svnweb.freebsd.org/changeset/base/260633 Log: Support perl-based TAP-compliant test programs. Introduce a TAP_TESTS_PERL primitive to list test programs written in perl. Only do this in tap.test.mk because I only

svn commit: r260634 - head/bin/pax/tests

2014-01-14 Thread Julio Merino
Author: jmmv Date: Tue Jan 14 18:39:30 2014 New Revision: 260634 URL: http://svnweb.freebsd.org/changeset/base/260634 Log: Use TAP_TESTS_PERL to register the legacy_test in bin/pax. Redo r260586 by using the new functionality in tap.test.mk to transparently support perl-based test program

svn commit: r260635 - in head/bin: sh/tests test/tests

2014-01-14 Thread Julio Merino
Author: jmmv Date: Tue Jan 14 18:45:32 2014 New Revision: 260635 URL: http://svnweb.freebsd.org/changeset/base/260635 Log: Replace hand-crafted Kyuafiles with automatic generation. Redo r260506 by using the new TEST_METADATA functionality of bsd.test.mk to mark the sh(1) and test(1) tests

Re: svn commit: r260586 - head/bin/pax/tests

2014-01-14 Thread Julio Merino
On Jan 13, 2014, at 15:34, Julio Merino wrote: > On Jan 13, 2014, at 14:59, Baptiste Daroussin wrote: > >> On Mon, Jan 13, 2014 at 12:17:41PM +, Julio Merino wrote: >>> +tap_test_program{name="legacy_test", required_programs="/usr/bin/perl"} >&g

  1   2   >