aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Staticize the test plans.Dag-Erling Smørgrav2014-11-053-3/+3
| | | | Notes: svn path=/head/; revision=274145
* Expect lib.libc.sys.getcontext_test.setcontext_link to fail on amd64; addEnji Cooper2014-11-051-0/+14
| | | | | | | | | | | | | | | | | | | | | | additional debugging to make the underlying problem more visible Calling setcontext(2) on amd64 as shown in the test program is failing on amd64, not i386, with a return code of -1 and an errno of EINVAL Further investigation is being done in the PR to determine the root cause for the failure PR: 194828 Tested with the following configuration: - amd64/i386 - 11.0-CURRENT @ r273153 - 100 times in a tight loop as root with the following commands... -- kyua test lib/libc -- kyua test lib/libc/sys -- kyua test lib/libc/sys/getcontext_test Notes: svn path=/head/; revision=274143
* Remove expected failure from lib.libc.sys.t_mincore:mincore_residEnji Cooper2014-11-051-3/+0
| | | | | | | | | | | | | | | | | The failure was added based on observation seen on 11.0-CURRENT @ r273153, not based on internal testing at EMC/Isilon PR: 194829 Tested with the following configuration: - amd64/i386 - 11.0-CURRENT @ r273153 - 100 times in a tight loop as root with the following commands... -- kyua test lib/libc -- kyua test lib/libc/sys -- kyua test lib/libc/sys/mincore_test Notes: svn path=/head/; revision=274142
* [SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2).Dag-Erling Smørgrav2014-11-041-14/+22
| | | | | | | | | [SA-14:26] Fix remote command execution in ftp(1). Approved by: so (des) Notes: svn path=/head/; revision=274106
* Fix the Jenkins test run by skipping the negative testcases earlierEnji Cooper2014-11-041-9/+11
| | | | | | | | | | | | | | | | | | | | The problem is that lib.libc.locale.t_io:bad_big5_wprintf was printing out illegal Unicode characters, which causes XML parsers to bail immediately, e.g. % kyua report-junit > ~/report.junit % python2 -c 'import xml.dom.minidom as md; md.parse("/home/ngie/report.junit")' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python2.7/xml/dom/minidom.py", line 1918, in parse return expatbuilder.parse(file) File "/usr/local/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse result = builder.parseFile(fp) File "/usr/local/lib/python2.7/xml/dom/expatbuilder.py", line 207, in parseFile parser.Parse(buffer, 0) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 27137, column 13 Notes: svn path=/head/; revision=274090
* Import proper fix for misc/49356 (/usr/include/atf-c/config.h) after ↵Enji Cooper2014-11-0414-40/+22
| | | | | | | | | | | atf-c/config.h was removed from the build Pointyhat to: me (again, for not running make delete-old after running test builds) Notes: svn path=/head/; revision=274079
* Finish off lib/libc/stdlib/t_strtod.c port by checking for "y" twice onEnji Cooper2014-11-041-1/+7
| | | | | | | | | FreeBSD, and always assume long long double exists on FreeBSD Submitted by: pho Notes: svn path=/head/; revision=274072
* rpc_control on FreeBSD is a public-ish API (not prefixed with __), not privateEnji Cooper2014-11-031-0/+4
| | | | | | | | | like NetBSD Submitted by: pho Notes: svn path=/head/; revision=274067
* Port lib/libc/ssp to FreeBSDEnji Cooper2014-11-035-1/+199
| | | | | | | | | | In most cases, the buffers and data were resized, but when dealing with the helpers, some of the code was adjusted to fail more reliably Submitted by: pho Notes: svn path=/head/; revision=274066
* inet_network on FreeBSD returns NULL when provided "0x" to inet_networkEnji Cooper2014-11-031-0/+4
| | | | | | | Submitted by: pho Notes: svn path=/head/; revision=274062
* Port t_db.sh to FreeBSDEnji Cooper2014-11-031-0/+20
| | | | | | | | | | | | - The blocksize on FreeBSD is 32kB, not 64kB - Add some detection for MK_DICT == no; /nonexistent is echoed along with atf_skip to ensure that the test will fail if dict(..) is called in the non-final stage of the pipeline Submitted by: pho Notes: svn path=/head/; revision=274061
* Port h_hash and t_sha2 to FreeBSDEnji Cooper2014-11-012-0/+34
| | | | | | | | | | t_sha2 contains dirty copy-paste hacks that need to be fixed with the openssh OpenBSD compat layer Submitted by: pho Notes: svn path=/head/; revision=273952
* Expect :sscanf_whitespace to fail on !NetBSD OSesEnji Cooper2014-11-011-0/+4
| | | | | | | Submitted by: pho Notes: svn path=/head/; revision=273951
* Skip :fopen_regular on !NetBSD because it's a NetBSD specific testEnji Cooper2014-11-011-0/+2
| | | | | | | Submitted by: pho Notes: svn path=/head/; revision=273950
* Add new atf_tc_expect_fail to fflush_err; this is a new (within the past ↵Enji Cooper2014-11-011-0/+4
| | | | | | | couple months) bug Notes: svn path=/head/; revision=273949
* Disable testcases 12 and 15-22 on FreeBSDEnji Cooper2014-11-011-1/+16
| | | | | | | Submitted by: pho Notes: svn path=/head/; revision=273948
* Expect :snprintf_posarg_error to blow up with a SIGSEGV on !NetBSD OSesEnji Cooper2014-11-011-0/+10
| | | | Notes: svn path=/head/; revision=273947
* Port h_atexit to FreeBSDEnji Cooper2014-11-011-0/+34
| | | | | | | | | | | | __cxa_atexit varies between FreeBSD and NetBSD, and thus we must use pointers instead of static fields in the BSS. More extensive discussion is included in the source code In collaboration with: kib Submitted by: pho Notes: svn path=/head/; revision=273946
* Port t_mincore to FreeBSDEnji Cooper2014-11-011-0/+21
| | | | | | | | | | | Mark :mincore_resid as atf_tc_expect_fail on FreeBSD because of new bug discovered in running the tests (it succeeded from earlier on in the year to September/October on FreeBSD, at least) Submitted by: pho Notes: svn path=/head/; revision=273945
* Port t_kevent to FreeBSDEnji Cooper2014-11-011-0/+26
| | | | | | | Submitted by: pho Notes: svn path=/head/; revision=273943
* Skip :sethostname_basic because it messes up the test host's hostnameEnji Cooper2014-11-011-2/+4
| | | | | | | Convert code from #if defined(__FreeBSD__) to #ifdef __FreeBSD__ Notes: svn path=/head/; revision=273942
* getitimer on FreeBSD returns the last set time instead of the remaining time;Enji Cooper2014-11-011-0/+5
| | | | | | | | | test for that instead Submitted by: pho Notes: svn path=/head/; revision=273938
* Port lib/libc/sys/t_dup to FreeBSD/LinuxEnji Cooper2014-11-011-0/+20
| | | | | | | | | | | | - The requirements differ between FreeBSD/Linux when dealing with oldd/newd being equal (both fail with EINVAL, not EBADF) - Add an EBADF testcase - Fix compilation issues on clang In collaboration with: pho Notes: svn path=/head/; revision=273937
* Port lib/libc/net/h_dns_server to FreeBSDEnji Cooper2014-11-011-0/+117
| | | | | | | Submitted by: pho Notes: svn path=/head/; revision=273936
* Port tests to FreeBSD/LinuxEnji Cooper2014-11-011-0/+33
| | | | | | | | | | | Some of the testcases don't work outside of NetBSD, and the behavior of ether_aton_r differs between FreeBSD, Linux, and NetBSD, and the calls to the API need to be massaged for FreeBSD and Linux. Submitted by: pho Notes: svn path=/head/; revision=273935
* Don't prune duplicate services in the expected output from /etc/services onEnji Cooper2014-11-011-0/+18
| | | | | | | | | FreeBSD Submitted by: pho Notes: svn path=/head/; revision=273933
* MFV: Import atf-0.21.Julio Merino2014-11-01144-2316/+3174
| | | | Notes: svn path=/head/; revision=273929
* Put mtree test files into a subdirectory.Julio Merino2014-11-011-0/+14
| | | | | | | | | | | | | Kyua 0.11 points TMPDIR to the test's work directory, and atf_check creates auxiliary files in TMPDIR. This confuses a couple of mtree tests that were using the work directory's root to validate the contents of the directory. Fix the two affected tests by creating an auxiliary directory to use for the mtree tests. (Kyua should probably do this on its own; filed bug #133 upstream to take a look at this.) Notes: svn path=/head/; revision=273928
* rping: make sure that the CQ event thread can never poll a CQ after itNavdeep Parhar2014-10-291-7/+13
| | | | | | | | | | has been destroyed. Submitted by: Hariprasad at Chelsio dot com Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=273811
* Userspace library for Chelsio's Terminator 5 based iWARP RNICs (prettyNavdeep Parhar2014-10-2921-1/+55842
| | | | | | | | | | | | | | | much every T5 card that does _not_ have "-SO" in its name is RDMA capable). This plugs into the OFED verbs framework and allows userspace RDMA applications to work over T5 RNICs. Tested with rping. Obtained from: Chelsio Communications Relnotes: Yes Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=273806
* Import in latest mtree from NetBSD to fix a bug in parsing group filesBrooks Davis2014-10-285-98/+116
| | | | | | | | | | that jmg fixed upstream. MFC after: 1 week Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=273796
* Make some infiniband example utilities easily buildable:Hans Petter Selasky2014-10-288-9/+69
| | | | | | | | | | | | - Add new Makefiles. - Add more include directories when building. - Fixed a printf() formatting string. MFC after: 3 days Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=273774
* Remove an extra copy of hv_kvp_daemon(8) [1].Xin LI2014-10-271-18/+50
| | | | | | | | | | | | While I'm there also correct typos in OptionalObsoleteFiles and add information of the command line options for hv_kvp_daemon(8). Reported by: jmg [1] Reviewed by: jmg MFC after: 2 weeks Notes: svn path=/head/; revision=273747
* Merge of 273518, tzdata2014iEdwin Groothuis2014-10-2710-942/+1055
| | | | | | | | | | | | | Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. Notes: svn path=/head/; revision=273718
* MFV r273688:Xin LI2014-10-261-43/+101
|\ | | | | | | | | | | | | | | | | | | | | | | Update filesystems magic. This fixes a regression introduced by libmagic 5.19 which prevents file(1) to show more verbose information about a MBR. Submitted by: madpilot MFC after: 2 weeks Notes: svn path=/head/; revision=273689
* \ MFV r273617: netcat from OpenBSD 5.6.Xin LI2014-10-251-9/+7
|\ \ | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=273619
* | | - Add sys/types.h for the APIs in sys/sysctl.hEnji Cooper2014-10-241-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Poke at VM_MIN_ADDRESS in machine/vmparam.h because FreeBSD doesn't have a vm.minaddress sysctl analog - Expect ENOMEM instead of EAGAIN in mlock_limits - Provide mlock an mmap'ed page twice to simulate MAP_WIRED on NetBSD In collaboration with: pho Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273592
* | | Correct my previous commit:Enji Cooper2014-10-241-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - getrusage_utime_back succeeds reliably on FreeBSD - getrusage_utime_zero passes/fails in a seemingly non-deterministic manner. Skip it for now (and fix it later) In the initial port of this testcase to FreeBSD, the results failed reliably in the same manner as it does on NetBSD Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273591
* | | - Mark signo __unused in the signal handler functionEnji Cooper2014-10-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Effectively #if 0 out some code that does not fail on FreeBSD In collaboration with: pho Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273579
* | | - Add inttypes.h and stdint.h in lieu of int_limits.h from NetBSDEnji Cooper2014-10-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Use #include "h_macros.h" instead of relative path analog Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273578
* | | - Test for EINVAL requirement when passing an invalid flag in to msync(2)Enji Cooper2014-10-241-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Expect ENOMEM instead of EFAULT when msync'ing a previously munmap'ed region on FreeBSD Submitted by: pho Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273574
* | | - Ignore EINVAL check with mknod(path, S_IFCHR, -1) as the testcase is alwaysEnji Cooper2014-10-241-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | executed on a non-devfs filesystem - Expect mknod(path, S_IFREG, 0) to fail on FreeBSD Submitted by: pho Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273572
* | | Add generated headers xoversion.h and xoconfig.h. These are the resultMarcel Moolenaar2014-10-232-0/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of configuring the source tree: % automake --add-missing % autoconf % ./configure Notes: svn path=/head/; revision=273563
* | | Import libxo 0.1.4Marcel Moolenaar2014-10-23204-0/+37851
| | | | | | | | | | | | | | | | | | | | | | | | Obtained from: https://github.com/Juniper/libxo Sponsored by: Juniper Networks, Inc. Notes: svn path=/head/; revision=273562
* | | Omit the mprotect_exec testcase on FreeBSDEnji Cooper2014-10-231-0/+6
| | | | | | | | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273540
* | | Mark signum __unusedEnji Cooper2014-10-231-0/+8
| | | | | | | | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273539
* | | Fix a typo (__FreeBSD__ -> __NetBSD__ when omitting setrlimit_nthr)Enji Cooper2014-10-231-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=273538
* | | Add limits.h #include for SSIZE_MAXEnji Cooper2014-10-231-0/+4
| | | | | | | | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273537
* | | Add limits.h #include for SSIZE_MAXEnji Cooper2014-10-231-0/+4
| | | | | | | | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273536
* | | - Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al)Enji Cooper2014-10-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t on FreeBSD) In collaboration with: pho Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273535