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-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r264457 - in stable/10: sys/net tools/regression/lib/libc/net tools/regression/lib/libc/string tools/regression/priv tools/regression/sbin/mdconfig tools/regression/usr.bin/lastcomm too...

2014-04-14 Thread Julio Merino
Author: jmmv Date: Mon Apr 14 13:30:08 2014 New Revision: 264457 URL: http://svnweb.freebsd.org/changeset/base/264457 Log: MFC various fixes to the tools/regression/ tests. - r262953 Fix m4 tests so that they run cleanly with prove. - r262954 Fix printf tests so that they run cleanly with

svn commit: r264483 - in stable/10: 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/lib...

2014-04-14 Thread Julio Merino
Author: jmmv Date: Mon Apr 14 23:51:57 2014 New Revision: 264483 URL: http://svnweb.freebsd.org/changeset/base/264483 Log: MFC refactoring of the *.test.mk files. - r263161 Make bsd.test.mk the only public mk fragment for the building of tests. - r263172 Move FreeBSD Test Suite-specific

svn commit: r264572 - in stable/10: gnu/usr.bin/groff/tmac share/man/man7 tools/build/options

2014-04-16 Thread Julio Merino
Sh HISTORY -This test suite first appeared in -.Fx 11.0 . +The +.Fx +Test Suite first appeared in +.Fx 10.1 . .Pp The .Nm manual page first appeared in .Nx 6.0 and was later ported to -.Fx 11.0 . +.Fx 10.1 . .Sh AUTHORS -.An Julio Merino Aq Mt j...@google.com +.An Julio Merino Aq Mt j...

svn commit: r264592 - stable/10/lib/libc/net

2014-04-17 Thread Julio Merino
Author: jmmv Date: Thu Apr 17 11:49:19 2014 New Revision: 264592 URL: http://svnweb.freebsd.org/changeset/base/264592 Log: MFC r263090: Make ether_line really report an error when all input is invalid. Modified: stable/10/lib/libc/net/ether_addr.c Directory Properties: stable/10/ (props c

svn commit: r264603 - stable/10/share/examples/tests/tests/atf

2014-04-17 Thread Julio Merino
Author: jmmv Date: Thu Apr 17 12:42:41 2014 New Revision: 264603 URL: http://svnweb.freebsd.org/changeset/base/264603 Log: MFC r263173: Remove unnecessary svn:executable property from source file. Modified: Directory Properties: stable/10/ (props changed) stable/10/share/examples/tests/te

svn commit: r264606 - stable/10/share/man/man5

2014-04-17 Thread Julio Merino
Author: jmmv Date: Thu Apr 17 13:10:30 2014 New Revision: 264606 URL: http://svnweb.freebsd.org/changeset/base/264606 Log: Regen src.conf.5. Notional merge of r264409 which regenerated this manpage after the rewording of WITH_TESTS. Modified: stable/10/share/man/man5/src.conf.5 Modifi

svn commit: r264607 - stable/10/tests/sys/kern

2014-04-17 Thread Julio Merino
Author: jmmv Date: Thu Apr 17 13:11:56 2014 New Revision: 264607 URL: http://svnweb.freebsd.org/changeset/base/264607 Log: MFC r264133: Fix variable type to avoid printf formatter warning. Modified: stable/10/tests/sys/kern/unix_seqpacket_test.c Directory Properties: stable/10/ (props cha

svn commit: r264618 - in stable/10: 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-17 Thread Julio Merino
Author: jmmv Date: Thu Apr 17 17:20:56 2014 New Revision: 264618 URL: http://svnweb.freebsd.org/changeset/base/264618 Log: MFC r263989: Add atf m4 files from the vendor branch. Added: stable/10/contrib/atf/atf-c++/atf-c++.m4 - copied unchanged from r263989, head/contrib/atf/atf-c++/atf-c

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: r264996 - in stable/10: . bin/pkill bin/pkill/tests etc/mtree sbin sbin/dhclient sbin/dhclient/tests sbin/growfs sbin/growfs/tests sbin/mdconfig sbin/mdconfig/tests sbin/tests tools/bui...

2014-04-26 Thread Julio Merino
Author: jmmv Date: Sun Apr 27 01:15:10 2014 New Revision: 264996 URL: http://svnweb.freebsd.org/changeset/base/264996 Log: MFC various moves of tools/regressions/ tests to the new infrastructure. - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile miss

svn commit: r265037 - in stable/10: 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...

2014-04-27 Thread Julio Merino
Author: jmmv Date: Mon Apr 28 04:20:14 2014 New Revision: 265037 URL: http://svnweb.freebsd.org/changeset/base/265037 Log: MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies. This is "make tinderbox" clean. Added: stable/10/cddl/lib/tests/ - copied from r264741

svn commit: r261887 - vendor/atf/atf-0.19

2014-02-14 Thread Julio Merino
Author: jmmv Date: Fri Feb 14 14:42:08 2014 New Revision: 261887 URL: http://svnweb.freebsd.org/changeset/base/261887 Log: Tag import of atf-0.19. Added: vendor/atf/atf-0.19/ - copied from r261886, vendor/atf/dist/ ___ svn-src-all@freebsd.org m

svn commit: r261888 - in vendor/atf/dist: . admin atf-c atf-c++ atf-c++/detail atf-c/detail atf-sh bootstrap m4 test-programs tools tools/sample tools/share

2014-02-14 Thread Julio Merino
Author: jmmv Date: Fri Feb 14 14:44:03 2014 New Revision: 261888 URL: http://svnweb.freebsd.org/changeset/base/261888 Log: Import atf-0.20: Experimental version released on February 7th, 2014. This is the first release without the code for the deprecated tools. If you require such c

svn commit: r261889 - vendor/atf/atf-0.20

2014-02-14 Thread Julio Merino
Author: jmmv Date: Fri Feb 14 14:44:34 2014 New Revision: 261889 URL: http://svnweb.freebsd.org/changeset/base/261889 Log: Tag import of atf-0.20. Added: vendor/atf/atf-0.20/ - copied from r261888, vendor/atf/dist/ ___ svn-src-all@freebsd.org m

svn commit: r261897 - in head: contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-c/detail contrib/atf/atf-sh contrib/atf/doc lib/atf/libatf-c++ lib/atf/li...

2014-02-14 Thread Julio Merino
Author: jmmv Date: Fri Feb 14 19:33:16 2014 New Revision: 261897 URL: http://svnweb.freebsd.org/changeset/base/261897 Log: MFV: Import atf-0.20. Added: head/contrib/atf/atf-c++/detail/version_helper.cpp - copied unchanged from r261889, vendor/atf/dist/atf-c++/detail/version_helper.cpp

svn commit: r261959 - head/tests

2014-02-15 Thread Julio Merino
Author: jmmv Date: Sun Feb 16 04:11:40 2014 New Revision: 261959 URL: http://svnweb.freebsd.org/changeset/base/261959 Log: Install a symlink from /usr/tests/local to /usr/local/tests. This is to let Kyua descend into any tests that may have been installed by ports under /usr/local/tests w

svn commit: r261978 - head/tests

2014-02-16 Thread Julio Merino
Author: jmmv Date: Sun Feb 16 12:56:05 2014 New Revision: 261978 URL: http://svnweb.freebsd.org/changeset/base/261978 Log: Use DESTDIR for the installation of the /usr/tests/local symlink. MFC after:5 days Modified: head/tests/Makefile Modified: head/tests/Makefile =

svn commit: r262000 - head/contrib/atf

2014-02-16 Thread Julio Merino
Author: jmmv Date: Sun Feb 16 21:53:33 2014 New Revision: 262000 URL: http://svnweb.freebsd.org/changeset/base/262000 Log: Undefine HAVE_VSNPRINTF_IN_STD. Should fix the build with g++/libstdc++. This is what we used to do prior the import of atf 0.20 and the build worked just fine w

svn commit: r262480 - head/sys/dev/syscons

2014-02-25 Thread Julio Merino
Author: jmmv Date: Tue Feb 25 13:48:05 2014 New Revision: 262480 URL: http://svnweb.freebsd.org/changeset/base/262480 Log: Increase maximum number of columns to support 1980x1200 displays. In my specific case, this fixes the problem of my PowerMac G5 displaying a 4:3 console on a 16:10 di

svn commit: r262502 - head/sys/dev/syscons

2014-02-25 Thread Julio Merino
Author: jmmv Date: Tue Feb 25 23:04:39 2014 New Revision: 262502 URL: http://svnweb.freebsd.org/changeset/base/262502 Log: Fix comment introduced in r262480: it's 1920x1200, not 1980x1200. PR: kern/180558 MFC after:5 days Modified: head/sys/dev/syscons/syscons.h Modified

Re: svn commit: r262480 - head/sys/dev/syscons

2014-02-25 Thread Julio Merino
On Tue, Feb 25, 2014 at 9:30 AM, Thomas Hoffmann wrote: > > The math works out OK for COL 240, but the comment has it wrong. Should be > 1920x1200. > Doh, of course. Fixed in r262502. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mai

svn commit: r262674 - stable/10/sys/dev/syscons

2014-03-02 Thread Julio Merino
Author: jmmv Date: Sun Mar 2 01:46:44 2014 New Revision: 262674 URL: http://svnweb.freebsd.org/changeset/base/262674 Log: Increase maximum number of columns to support 1920x1200 displays. This is a MFC of r262480 and r262502. Please note that this is changing a constant in a header fi

svn commit: r262849 - in stable/10: . contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-sh etc/mtree lib/atf lib/atf/libatf-c lib/atf/libatf-c++ lib/atf/l...

2014-03-06 Thread Julio Merino
Author: jmmv Date: Thu Mar 6 13:20:38 2014 New Revision: 262849 URL: http://svnweb.freebsd.org/changeset/base/262849 Log: MFC various fixes for the ATF tests. - r260505 Allow tests to provide a Kyuafile when they relied on auto-generation. - r260525 Respect the original layout of the at

svn commit: r262852 - stable/10/share/mk

2014-03-06 Thread Julio Merino
Author: jmmv Date: Thu Mar 6 13:30:36 2014 New Revision: 262852 URL: http://svnweb.freebsd.org/changeset/base/262852 Log: MFC a couple of improvements to the test suite mk files. - r260632 Support defining test program metadata from the Makefiles. - r260633 Support perl-based TAP-complia

svn commit: r262854 - stable/10/tests

2014-03-06 Thread Julio Merino
Author: jmmv Date: Thu Mar 6 13:38:23 2014 New Revision: 262854 URL: http://svnweb.freebsd.org/changeset/base/262854 Log: Install a symlink from /usr/tests/local to /usr/local/tests. This is a MFC of r261959 and r261978. Modified: stable/10/tests/Makefile Directory Properties: stable/

svn commit: r262855 - in stable/10: contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-c/detail contrib/atf/atf-sh contrib/atf/doc lib/atf/libatf-c++ lib/a...

2014-03-06 Thread Julio Merino
Author: jmmv Date: Thu Mar 6 14:11:44 2014 New Revision: 262855 URL: http://svnweb.freebsd.org/changeset/base/262855 Log: Import atf-0.20. This is a MFC of r261897 and r262000 and should allow all of the atf tests to pass. Added: stable/10/contrib/atf/atf-c++/detail/version_helper.cpp

svn commit: r262951 - in stable/10: 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/parameters bin/sh/tests/parser bin/t...

2014-03-09 Thread Julio Merino
Author: jmmv Date: Sun Mar 9 17:04:31 2014 New Revision: 262951 URL: http://svnweb.freebsd.org/changeset/base/262951 Log: Sync sh(1) in stable/10 to head. This is a MFC of all the commits listed below. My original goal of this change was to only merge the move of the tests from tool

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: r259962 - in stable/10: lib/libcrypt/tests share/mk

2013-12-27 Thread Julio Merino
Author: jmmv Date: Fri Dec 27 22:00:22 2013 New Revision: 259962 URL: http://svnweb.freebsd.org/changeset/base/259962 Log: Split and extend bsd.test.mk into {atf,plain,tap}.test.mk. This is a MFC of: - r256761 Clearly split the logic to build ATF and plain tests apart. - r256762 Add

svn commit: r260002 - in stable/10: share/misc usr.bin/calendar/calendars

2013-12-28 Thread Julio Merino
n-Mark Gurney\n...@freebsd.org\n1997/02/13"] +jmmv [label="Julio Merino\nj...@freebsd.org\n2013/11/02"] joerg [label="Joerg Wunsch\njo...@freebsd.org\n1993/11/14"] jon [label="Jonathan Chen\n...@freebsd.org\n2000/10/17"] jonathan [label="Jonathan Anderson\n

svn commit: r260005 - stable/10/share/mk

2013-12-28 Thread Julio Merino
Author: jmmv Date: Sat Dec 28 16:08:10 2013 New Revision: 260005 URL: http://svnweb.freebsd.org/changeset/base/260005 Log: Pull up fixes to allow building tests along scripts and data files. MFC of the following into stable/10: - r257095 Allow mixing bsd.files.mk with bsd.subdir.mk. - r

svn commit: r260013 - in stable/10: . etc etc/mtree lib lib/libcrypt lib/libcrypt/tests lib/tests libexec share/doc share/man/man1 share/man/man4 share/man/man7 share/mk tests tools/build/mk tools/...

2013-12-28 Thread Julio Merino
It +.Lk http://www.freebsd.org/send-pr.html "Submit a FreeBSD Problem Report" +.El +.Sh FILES +.Bl -tag -compact -width usrXlocalXetcXkyuaXkyuaXconfXX +.It Pa /usr/local/etc/kyua/kyua.conf +System-wide configuration file for +.Xr kyua 1 . +.It Pa ~/.kyua/kyua.conf +User-specific configurat

Re: svn commit: r260013 - in stable/10: . etc etc/mtree lib lib/libcrypt lib/libcrypt/tests lib/tests libexec share/doc share/man/man1 share/man/man4 share/man/man7 share/mk tests tools/build/mk tools

2013-12-28 Thread Julio Merino
On Sat, Dec 28, 2013 at 3:05 PM, Julio Merino wrote: > Author: jmmv > Date: Sat Dec 28 20:05:31 2013 > New Revision: 260013 > URL: http://svnweb.freebsd.org/changeset/base/260013 > > Log: > Set up the /usr/tests hierarchy. > > This is a MFC of the following into s

svn commit: r260024 - in stable/10: . etc etc/mtree lib/atf lib/atf/libatf-c lib/atf/libatf-c++ lib/atf/libatf-c++/tests lib/atf/libatf-c/tests lib/atf/tests lib/atf/tests/test-programs libexec lib...

2013-12-28 Thread Julio Merino
Author: jmmv Date: Sat Dec 28 23:08:58 2013 New Revision: 260024 URL: http://svnweb.freebsd.org/changeset/base/260024 Log: Plug the ATF tests into the build. This is a MFC into stable/10 of: - r257849 Add libatf-c++ to the prebuild libs. - r257853 Build and install the atf tests. - r2

svn commit: r260029 - in stable/10: contrib/atf contrib/atf/admin contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-c/detail contrib/atf/atf-config contrib/atf/atf-re...

2013-12-28 Thread Julio Merino
Author: jmmv Date: Sun Dec 29 02:57:10 2013 New Revision: 260029 URL: http://svnweb.freebsd.org/changeset/base/260029 Log: Update atf to 0.18 and remove the code of the deprecated tools. This is a MFC into stable/10 of: - r258286 Update notes for imports of atf. - r258289 MFV: Import at

svn commit: r260037 - in stable/10: etc/mtree share share/examples share/examples/tests share/examples/tests/tests/plain share/mk share/tests

2013-12-29 Thread Julio Merino
Author: jmmv Date: Sun Dec 29 12:30:06 2013 New Revision: 260037 URL: http://svnweb.freebsd.org/changeset/base/260037 Log: Add sample test programs. This is a MFC of the following into stable/10: - r258299 Add some sample test programs. - r258552 Generate plain sh test programs from a s

svn commit: r260085 - stable/10/tools/build/mk

2013-12-30 Thread Julio Merino
Author: jmmv Date: Mon Dec 30 14:09:04 2013 New Revision: 260085 URL: http://svnweb.freebsd.org/changeset/base/260085 Log: Fix 'make check-old' warnings when WITHOUT_TESTS is set. This is a MFC of r258025 and r257940, both of which resolve issues with dynamically setting the list of obsol

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: r260578 - stable/10/contrib/atf/atf-c++/detail

2014-01-12 Thread Julio Merino
Author: jmmv Date: Sun Jan 12 22:17:56 2014 New Revision: 260578 URL: http://svnweb.freebsd.org/changeset/base/260578 Log: MFC r260491: Use .cpp as the extension for temporary C++ files. Modified: stable/10/contrib/atf/atf-c++/detail/test_helpers.cpp Directory Properties: stable/10/ (prop

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

Re: svn commit: r261072 - in head: share/man/man5 share/mk tools/build/options

2014-01-22 Thread Julio Merino
On Jan 22, 2014, at 22:14, Steven Kreuzer wrote: > Author: skreuzer (doc,ports committer) > Date: Thu Jan 23 03:14:48 2014 > New Revision: 261072 > URL: http://svnweb.freebsd.org/changeset/base/261072 > > Log: > Remove WITHOUT_ATF as it has been replaced by WITH_TESTS > > PR: conf/18

svn commit: r257848 - in head: . share/mk

2013-11-08 Thread Julio Merino
Author: jmmv Date: Fri Nov 8 14:20:22 2013 New Revision: 257848 URL: http://svnweb.freebsd.org/changeset/base/257848 Log: Fix buildworld when WITH_TESTS is enabled. The addition of the TESTS knob and its enabling of the build of tests in lib/libcrypt/tests/ broke the build. The reason i

svn commit: r257850 - in head: . lib libexec share/doc share/man/man1 share/man/man4 share/mk tools/build/mk usr.bin

2013-11-08 Thread Julio Merino
Author: jmmv Date: Fri Nov 8 14:24:47 2013 New Revision: 257850 URL: http://svnweb.freebsd.org/changeset/base/257850 Log: Subsume the functionality of MK_ATF into MK_TESTS. There is no reason to keep the two knobs separate: if tests are enabled, the ATF libraries are required; and if tes

svn commit: r257852 - in head: lib lib/tests tests

2013-11-08 Thread Julio Merino
Author: jmmv Date: Fri Nov 8 14:29:06 2013 New Revision: 257852 URL: http://svnweb.freebsd.org/changeset/base/257852 Log: Install category Kyuafiles from their category directories. Move the installation of /usr/tests/lib/Kyuafile from src/tests/lib/ to src/lib/. This is to keep the src

svn commit: r257853 - in head: etc/mtree lib/atf lib/atf/libatf-c lib/atf/libatf-c++ lib/atf/libatf-c++/tests lib/atf/libatf-c/tests lib/atf/tests lib/atf/tests/test-programs libexec libexec/atf li...

2013-11-08 Thread Julio Merino
Author: jmmv Date: Fri Nov 8 14:33:41 2013 New Revision: 257853 URL: http://svnweb.freebsd.org/changeset/base/257853 Log: Build and install the atf tests. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) Added: head/lib/atf/libatf-c++/Makefile.inc (contents, props changed

svn commit: r257849 - head

2013-11-08 Thread Julio Merino
Author: jmmv Date: Fri Nov 8 14:22:16 2013 New Revision: 257849 URL: http://svnweb.freebsd.org/changeset/base/257849 Log: Add libatf-c++ to the prebuild libs. Some tests may require C++ so we must ensure this library exists as part of the bootstrap process or else they will fail to build

  1   2   >