MFC r319637:Add testcases for `cat -b`
MFC r319634:Add additional testcases for cat(1)Verify the following additional cases:- -s (in isolation, in addition to the -se testcase obtained via the NetBSD test).- -vt
MFC r305358,r305449,r305451,r306367,r306397,r309474:This also contains a merge of ^/projects/netbsd-tests-update-12@r304035 .This change never hit ^/head because bin/cat's behavior was changed (on ^/head)to match NetBSD.PR: 210607r305358:Update contrib/netbsd-tests with new content from NetBSDThis updates the snapshot from 09/30/2014 to 08/11/2016This brings in a number of new testcases from upstream, mostnotably:- bin/cat- lib/libc- lib/msun- lib/libthr- usr.bin/sortlib/libc/tests/stdio/open_memstream_test.c was moved tolib/libc/tests/stdio/open_memstream2_test.c to accomodatethe new open_memstream test from NetBSD.Tested on: amd64 (VMware fusion VM; various bare metal platforms); i386 (VMware fusion VM); make tinderboxr305449:Install h_db to unbreak some of the lib/libc/db testcases afterr305358r305451:Fix lib/libc/rpc test assumptions added in r305358- Require root in the tcp/udp subtests (it's needed on FreeBSD when registering services).- Skip the tests if service registration fails.r306367 (by br):Allow up to 6 arguments only on MIPS.r306397 (by br):Use right piece of code for FreeBSD.r309474:Don't build :strvis_locale if VIS_NOLOCALE is undefinedThe copy of contrib/libc-vis on ^/stable/10 doesn't contain all of the featuresin the ^/stable/11 // ^/head version, including VIS_NOLOCALE. The risk is lowerin conditionally running the test instead of backporting the newer version oflibc-vis
MFC r289172,r290254:r289172:Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-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 clarityr290254:Remove unused variable (SRCDIR)
MFC r276669,r276723:r276669:Integrate bin/cat/tests from NetBSD into atf/kyuaSponsored by: EMC / Isilon Storage Divisionr276723:Install d_align.{in,out} for the :align testPointyhat to: me
Integrate bin/cat/tests from NetBSD into atf/kyuaSponsored by: EMC / Isilon Storage Division