summaryrefslogtreecommitdiffstats
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | - Convert testcase to TAP formatngie2015-12-211-35/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use nitems(x) instead of handrolled sizeof(x) / sizeof(*x) macro - Do not mark count != 0 case with bsde_get_rule_count as a failure; this generates false positives on systems with ugidfw rules set on it MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | | | | | Redo the TAP integration so it works with Kyuangie2015-12-211-62/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kyua needs numbers in the TAP results :/, but prove doesn't MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | | | | | Skip the testcases if mac_bsdextended(4) isn't detected on thengie2015-12-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | system MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | | | | | Mark `subject matching jailid` testcase as an unexpected failure withngie2015-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TODO to ensure that the testcase isn't marked as a failure PR: 205481 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | | | | | Make test_matches.sh into a series of TAP testcasesngie2015-12-211-71/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use temporary filesystems / memory disks instead of a hardcoded path which doesn't exist on test systems MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | | | | | - Use 1 for an exit code instead of -1 with err, errx, and exitngie2015-12-211-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add unistd.h for getuid(3) - Sort #includes MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | | Integrate the remaining tools/regression/lib/msun testcases into thengie2015-12-2012-2025/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD test suite under lib/msun/tests MFC after: 3 weeks X-MFC with: r292328 Sponsored by: EMC / Isilon Storage Division
* | | | | | Skip the testcases on i386 (all the assertions fail) [*]ngie2015-12-201-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, don't compile the ldexpl(3) testcases on platforms that don't support the libcall (technically only x86 right now). This makes this test buildable on arm*/mips*/powerpc* PR: 205449 [*] MFC after: 1 week Tested on: stable/10 (amd64/i386), head (amd64/i386) Sponsored by: EMC / Isilon Storage Division
* | | | | | Initialize j so it doesn't print out a garbage indexngie2015-12-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use it consistently instead of i in the first loop MFC after: 3 days X-MFC with: 292492 Sponsored by: EMC / Isilon Storage Division
* | | | | | Skip infinities testcases that fail assertions on amd64 only on CURRENTngie2015-12-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 205448 MFC after: never Sponsored by: EMC / Isilon Storage Division
* | | | | | Don't run test-fma on i386ngie2015-12-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It completely fails all assertions on i386 on both stable/9 and stable/10 PR: 205448 MFC after: 1 week X-MFC to: stable/10 Sponsored by: EMC / Isilon Storage Division
* | | | | | - Use nitems instead of handrolling the macrongie2015-12-201-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use a separate variable for tracking the testcase count instead of hardcoding the offset for the testcases MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* | | | | | Disable test-ctrig.t testcases which fail assertions on i386 [*]ngie2015-12-201-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, don't compile the exp2l(3) testcases on platforms that don't support the libcall (technically only x86 right now). This makes this test buildable on arm*/mips*/powerpc* Tested on: stable/10 (amd64/i386), head (amd64/i386) PR: 205446 [*] MFC after: 1 week X-MFC to: stable/10 Sponsored by: EMC / Isilon Storage Division
* | | | | | Disable test-ctrig.t testcases which fail assertions on i386ngie2015-12-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on: stable/10 (amd64/i386), head (amd64/i386) PR: 205446 MFC after: 1 week X-MFC to: stable/10 Sponsored by: EMC / Isilon Storage Division
* | | | | | Update the test list after r292328ngie2015-12-201-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Add test-invtrig to the list of tests Sponsored by: EMC / Isilon Storage Division
* | | | | Integrate a number of testcases from tools/regression/lib/msunngie2015-12-1628-3538/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into the FreeBSD test suite There's no functional change with these testcases; they're purposely being left in TAP format for the time being Other testcases which crash on amd64/i386 as-is have not been integrated yet (they need to be retested on a later version of CURRENT, as I haven't used i386 in some time) MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* | | | | Use fabsl instead of fabs to mute -Wabsolute-value warnings from clangngie2015-12-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because `nums[]` is an array of long doubles MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | Integrate tools/regression/lib/libc/nss into the FreeBSD test suite asngie2015-12-1620-5430/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/libc/tests/nss - Convert the testcases to ATF - Do some style(9) cleanups: -- Sort headers -- Apply indentation fixes -- Remove superfluous parentheses - Explicitly print out debug printfs for use with `kyua {debug,report}`; for items that were overly noisy, they've been put behind #ifdef DEBUG conditionals - Fix some format strings MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | Integrate tools/regression/lib/libc/resolv into the FreeBSD test suite asngie2015-12-164-410/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/libc/tests/resolv Convert the testcases to ATF MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | Remove hosts that don't resolve properly with the nss and resolv testsngie2015-12-162-94/+0
| |_|_|/ |/| | | | | | | | | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | Add missing stdlib.h headerngie2015-12-081-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply some minor style(9) fixes MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* | | | Fix compilation warnings by adding unistd.h #include and missing returnngie2015-12-081-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | statements MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* | | | Skip the MAC portacl tests if MAC_PORTACL support is missing instead ofngie2015-12-081-2/+1
| |_|/ |/| | | | | | | | | | | | | | | | | marking them failed MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | Fix LDADD/DPADD that should be LIBADD.bdrewery2015-12-0414-28/+14
| | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | | Clean up trailing whitespacengie2015-11-269-583/+582
| | | | | | | | | | | | MFC after: 1 week
* | | r291359 was incorrect. Skip over tokens that start with `#' as fgetln canngie2015-11-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | return more than one '\n' delimited line in a buffer Handle empty lines too, just in case MFC after: 3 days X-MFC with: r291359
* | | Skip over lines that start with # (comments)ngie2015-11-261-0/+2
| | | | | | | | | | | | MFC after: 3 days
* | | Remove cnftp.bjpu.edu.cn (it no longer resolves)ngie2015-11-262-2/+2
| |/ |/| | | | | | | | | Add localhost to resolv/mach for parity with nss/mach MFC after: 3 days
* | Use print as a function for Python 3 [PEP 3105]rodrigc2015-11-191-0/+1
| | | | | | | | | | | | | | | | Import print_function from the __future__ module to activate this for Python 2. This works as far back as Python 2.6.0a2: https://docs.python.org/2/library/__future__.html [PEP 3105] https://www.python.org/dev/peps/pep-3105/
* | Remove directory made obsolete by r290905ngie2015-11-163-169/+0
|/ | | | | | | MFC after: 1 week X-MFC with: r290905 X-MFC note: stable/10 only Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/pipe in to the FreeBSD test suite asngie2015-11-1610-655/+0
| | | | | | | | | | | | | | tests/sys/kern/pipe - Fix style(9) bugs - Fix compiler warnings - Use `nitems(x)` instead of `sizeof(x) / sizeof(*x)` pattern The testcases will be converted over to ATF eventually, but for now will be integrated in as plain C tests MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/lib/libc/gen into the FreeBSD test suitengie2015-11-098-1490/+0
| | | | | | | | | | | | | | | | | | | as lib/libc/tests/gen The code in test-fnmatch that was used for generating: - bin/sh/tests/builtins/case2.0 - bin/sh/tests/builtins/case3.0 has been left undisturbed. The target `make sh-tests` has been moved over from tools/regression/lib/libc/gen/Makefile to lib/libc/tests/gen/Makefile and made into a PHONY target case2.0 and case3.0 test input generation isn't being done automatically. This needs additional discussion. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/lib/libc/net into the FreeBSD test suitengie2015-11-088-459/+0
| | | | | | | | | | as lib/libc/tests/net Also, fix eui64_aton_test:test_str(..). The test was comparing the result of eui64_aton to a pointer of the expected result. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/lib/libc/string into the FreeBSD test suitengie2015-11-086-436/+0
| | | | | | | as lib/libc/tests/string MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/lib/libc/stdlib into the FreeBSD test suitengie2015-11-088-510/+0
| | | | | | | | | | as lib/libc/tests/stdlib - Make the code a bit more style(9) compliant - Convert a sizeof(x)/sizeof(x[0]) to nitems MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/lib/libc/stdio into the FreeBSD test suitengie2015-11-0825-2295/+0
| | | | | | | | | | | as lib/libc/tests/stdio - Fix some whitespace - Convert the testcases to ATF - Convert "/dev/null" to _PATH_DEVNULL MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/lib/libc/locale into the FreeBSD test suitengie2015-11-0833-2494/+0
| | | | | | | as lib/libc/tests/locale MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Use nitems(x) instead of sizeof(x)/sizeof(x[0])ngie2015-11-021-2/+2
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Fix compiler warnings with open_to_operation.cngie2015-10-302-16/+13
| | | | | | | | | | | | | | | | | | Other sidenotes: - Remove unused variables with main(..) - Convert errx/exit with -1 to errx/exit with 1 - Fix a bogus test in try_directory_open (expected_errno == expected_errno -> errno == expected_errno) [*] - Fix some warnings related to discarded qualifiers - Remove a bogus else-statement at the end of check_mmap_exec(..) in the successful case. mmap(2), POSIX, Linux, etc all don't state what the behavior is when mixing O_WRONLY + PROT_EXEC, so assume success for now to get the test program to pass again. PR: 201286 [*] MFC after: 1 week Submitted by: David Binderman <dcb314@hotmail.com> Sponsored by: EMC / Isilon Storage Division
* Unbreak regression testing tools for net80211 crypto cipher modulesavos2015-10-223-78/+124
| | | | | Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D3441
* Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/aclngie2015-10-1713-3295/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | - Make the requirements more complete for the testcases - Detect prerequisites so the tests won't fail (zfs.ko is loaded, zpool(1) is available, ACL support is enabled with UFS, etc). - Work with temporary files/directories/mountpoints that work with atf/kyua - Limit the testcases to work on temporary filesystems to reduce tainting the test host MFC after: 2 weeks Reviewed by: trasz (earlier version) Differential Revision: https://reviews.freebsd.org/D3810
| \
| \
*-. \ Integrate tools/test/posixshm and tools/regression/posixshm into the FreeBSDngie2015-10-175-828/+0
|\ \ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test suite as tests/sys/posixshm Some other highlights: - Convert the testcases over to ATF - Don't use hardcoded paths to /tmp (which violate the ATF/kyua samdbox); use mkstemp to generate temporary paths for non-SHM_ANON shm objects. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| | * Integrate tools/regression/acltools into tests/sys/aclngie2015-10-1313-3295/+0
| | |\ | | | | | | | | | | | | Apply patches I've been running for months on my GitHub project
| | | * Integrate tools/regression/acltools into tests/sys/aclngie2015-10-0513-3295/+0
| | | | | | | | | | | | | | | | Apply patches I've been running for months on my GitHub project
| | | * MFhead @ r288313ngie2015-09-2711-693/+699
| | | |\
| | | * \ MFhead @ r285904ngie2015-07-272-1/+2
| | | |\ \
| | | * \ \ MF head @ r284358ngie2015-06-131-0/+19
| | | |\ \ \
| | | * \ \ \ MFhead @ r283351ngie2015-05-242-4/+6
| | | |\ \ \ \
| | | * \ \ \ \ MFhead @ r281924ngie2015-04-243-3/+3
| | | |\ \ \ \ \
* | | | | | | | | Fix test-fenv:test_dfl_env when run on some amd64 CPUsngie2015-10-141-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compare the fields that the AMD [1] and Intel [2] specs say will be set once fnstenv returns. Not all amd64 capable processors zero out the env.__x87.__other field (example: AMD Opteron 6308). The AMD64/x64 specs aren't explicit on what the env.__x87.__other field will contain after fnstenv is executed, so the values in env.__x87.__other could be filled with arbitrary data depending on how the CPU-specific implementation of fnstenv. 1. http://support.amd.com/TechDocs/26569_APM_v5.pdf 2. http://www.intel.com/Assets/en_US/PDF/manual/253666.pdf Discussed with: kib, Anton Rang <anton.rang@isilon.com> Reviewed by: Daniel O'Connor <darius@dons.net.au> (earlier patch; pre-generalization) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Reported by: Bill Morchin <wmorchin@isilon.com>
OpenPOWER on IntegriCloud