summaryrefslogtreecommitdiff
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix compilation warnings by adding unistd.h #include and missing returnEnji Cooper2015-12-081-2/+8
| | | | | | | | | | statements MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291983
* Skip the MAC portacl tests if MAC_PORTACL support is missing instead ofEnji Cooper2015-12-081-2/+1
| | | | | | | | | | marking them failed MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291982
* Fix LDADD/DPADD that should be LIBADD.Bryan Drewery2015-12-0414-28/+14
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291738
* Clean up trailing whitespaceEnji Cooper2015-11-269-583/+582
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=291363
* r291359 was incorrect. Skip over tokens that start with `#' as fgetln canEnji Cooper2015-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 Notes: svn path=/head/; revision=291362
* Skip over lines that start with # (comments)Enji Cooper2015-11-261-0/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=291359
* Remove cnftp.bjpu.edu.cn (it no longer resolves)Enji Cooper2015-11-262-2/+2
| | | | | | | | | Add localhost to resolv/mach for parity with nss/mach MFC after: 3 days Notes: svn path=/head/; revision=291358
* Use print as a function for Python 3 [PEP 3105]Craig Rodrigues2015-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/ Notes: svn path=/head/; revision=291041
* Remove directory made obsolete by r290905Enji Cooper2015-11-163-169/+0
| | | | | | | | | | MFC after: 1 week X-MFC with: r290905 X-MFC note: stable/10 only Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290922
* Integrate tools/regression/pipe in to the FreeBSD test suite asEnji Cooper2015-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 Notes: svn path=/head/; revision=290914
* Integrate tools/regression/lib/libc/gen into the FreeBSD test suiteEnji Cooper2015-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 Notes: svn path=/head/; revision=290572
* Integrate tools/regression/lib/libc/net into the FreeBSD test suiteEnji Cooper2015-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 Notes: svn path=/head/; revision=290563
* Integrate tools/regression/lib/libc/string into the FreeBSD test suiteEnji Cooper2015-11-086-436/+0
| | | | | | | | | | as lib/libc/tests/string MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290539
* Integrate tools/regression/lib/libc/stdlib into the FreeBSD test suiteEnji Cooper2015-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 Notes: svn path=/head/; revision=290538
* Integrate tools/regression/lib/libc/stdio into the FreeBSD test suiteEnji Cooper2015-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 Notes: svn path=/head/; revision=290537
* Integrate tools/regression/lib/libc/locale into the FreeBSD test suiteEnji Cooper2015-11-0833-2494/+0
| | | | | | | | | | as lib/libc/tests/locale MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290532
* Use nitems(x) instead of sizeof(x)/sizeof(x[0])Enji Cooper2015-11-021-2/+2
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290251
* Fix compiler warnings with open_to_operation.cEnji Cooper2015-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 Notes: svn path=/head/; revision=290190
* Unbreak regression testing tools for net80211 crypto cipher modulesAndriy Voskoboinyk2015-10-223-78/+124
| | | | | | | | Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D3441 Notes: svn path=/head/; revision=289762
* Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/aclEnji Cooper2015-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 Notes: svn path=/head/; revision=289446
* Integrate tools/test/posixshm and tools/regression/posixshm into the FreeBSDEnji Cooper2015-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 Notes: svn path=/head/; revision=289441
* Fix test-fenv:test_dfl_env when run on some amd64 CPUsEnji Cooper2015-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> Notes: svn path=/head/; revision=289332
* Integrate tools/regression/vfs into the FreeBSD test suite as tests/sys/vfsEnji Cooper2015-10-141-42/+0
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=289300
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* Expose an interface to determine if an ACE is inherited.Xin LI2015-09-044-667/+667
| | | | | | | | | | Submitted by: sef Reviewed by: trasz MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D3540 Notes: svn path=/head/; revision=287445
* - Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems()Craig Rodrigues2015-08-295-24/+23
| | | | | | | | | | | - Add missing <err.h> for err() and <sys/sysctl.h> for sysctlbyname() - NULL -> 0 for 5th parameter of sysctlbyname() Submitted by: Andriy Voskoboinyk <s3erios@gmail com> Differential Revision: https://reviews.freebsd.org/D3442 Notes: svn path=/head/; revision=287297
* wordexp(): Improve some error codes.Jilles Tjoelker2015-08-191-0/+9
| | | | | | | | | | Distinguish between WRDE_BADVAL and WRDE_SYNTAX based on when the error occurred (parsing or execution), not based on whether WRDE_UNDEF was passed. Also, return WRDE_NOSPACE for a few more unexpected results from sh. Notes: svn path=/head/; revision=286941
* Add a missing break statement, which made the code default to IPv6.Christian Brueffer2015-07-141-0/+1
| | | | | | | | | PR: 201285 Submitted by: David Binderman MFC after: 1 week Notes: svn path=/head/; revision=285543
* Let the nv.h and dnv.h includes be only in sys directory.Mariusz Zaborski2015-07-021-1/+1
| | | | | | | | | | Change consumers to include those files from sys. Add duplicated files to ObsoleteFiles. Approved by: pjd (mentor) Notes: svn path=/head/; revision=285063
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * Merge sync of headSimon J. Gerraty2015-05-27121-9108/+321
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * \ Merge from head@274682Simon J. Gerraty2014-11-19251-14087/+41
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ \ Merge head from 7/28Simon J. Gerraty2014-08-1910-580/+57
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * \ \ \ Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ \ \ Merge headSimon J. Gerraty2014-04-281448-43635/+7275
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ \ \ \ \ Merge head@256284Simon J. Gerraty2013-10-136-1/+1492
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256424
| * | | | | | | New dependenciesSimon J. Gerraty2013-10-132-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256418
* | | | | | | | Remove directory for test that has been integrated in under tests/sys/...Enji Cooper2015-05-243-293/+0
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X-MFC with: r282067 MFC after: 1 week Notes: svn path=/head/; revision=283357
* | | | | | | Fix more warnings related to missing headersEnji Cooper2015-05-162-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=283018
* | | | | | | Integrate tools/regression/mmap into the FreeBSD test suite asEnji Cooper2015-04-272-111/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/kern/mmap_test MFC after: 1 week Notes: svn path=/head/; revision=282076
* | | | | | | Convert this testcase over to a TAP format testcaseEnji Cooper2015-04-271-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=282075
* | | | | | | Integrate tools/regression/aio/aiotest and tools/regression/aio/kqueue into theEnji Cooper2015-04-276-1187/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD test suite as tests/sys/aio MFC after: 1 week Notes: svn path=/head/; revision=282074
* | | | | | | - Fix style(9) a bitEnji Cooper2015-04-272-57/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Fix whitespace -- Use err/errx -- Remove superfluous braces - Be a bit more defensive with input from the end-user - Don't throw a floating point exception by dividing by 0 when processing a zero-byte file MFC after: 1 week Notes: svn path=/head/; revision=282073
* | | | | | | - Fix compilation (MAP_INHERIT's dead)Enji Cooper2015-04-274-22/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix warnings - Use mkstemp instead of tmpnam MFC after: 1 week Notes: svn path=/head/; revision=282072
* | | | | | | Integrate tools/regression/mqueue into the FreeBSD test suite asEnji Cooper2015-04-2711-541/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/mqueue MFC after: 1 week Notes: svn path=/head/; revision=282071
* | | | | | | Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifoEnji Cooper2015-04-2720-4984/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and tools/regression/file into the FreeBSD test suite as tests/sys/file MFC after: 1 week Notes: svn path=/head/; revision=282067
* | | | | | | Integrate tools/regression/kqueue into the FreeBSD test suite asEnji Cooper2015-04-2710-1747/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/kqueue MFC after: 1 week Notes: svn path=/head/; revision=282063
* | | | | | | Fix -Wformat warnings by using proper format string qualifiers forEnji Cooper2015-04-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | long and unsigned[ long] types MFC after: 1 week Notes: svn path=/head/; revision=282062
* | | | | | | Integrate tools/regression/execve into the FreeBSD test suite asEnji Cooper2015-04-2710-226/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/kern/execve MFC after: 1 week Notes: svn path=/head/; revision=282061
* | | | | | | Reassign copyright statements on several files from AdvancedJohn Baldwin2015-04-234-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Computing Technologies LLC to Hudson River Trading LLC. Approved by: Hudson River Trading LLC (who owns ACT LLC) MFC after: 1 week Notes: svn path=/head/; revision=281887