summaryrefslogtreecommitdiffstats
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
* Make this compile with WARNS=6 and clang/gccngie2015-01-221-5/+9
| | | | | MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Garbage collect a prove test wrapperngie2015-01-201-15/+0
| | | | | MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Add a ${CP} alias for copying files in the build.will2015-01-161-1/+1
| | | | | | | | | | | | | | Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future. Update all current users of 'cp' in the src tree. Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic
* Revert r273630 as the panic was fixed by r274619smh2014-11-171-2/+0
| | | | | | | | The panic was caused by TRIM requests run against file based vdevs as write requests. PR: 191573 Sponsored by: Multiplay
* Convert tools/regression/lib/libc/stdio/test-fpclassify into an ATF testcase andngie2014-11-162-77/+1
| | | | | | Rename as lib/libc/stdio/fpclassify2_test Sponsored by: EMC / Isilon Storage Division
* Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase andngie2014-11-162-300/+0
| | | | | | rename as lib/libc/stdio/fmemopen2_test Sponsored by: EMC / Isilon Storage Division
* Remove test-arc4random from this Makefile so others can continue to usengie2014-11-161-1/+1
| | | | this as-is for the time being
* Convert tools/regression/lib/libc/gen/test-arc4random into an ATF testcase andngie2014-11-161-89/+0
| | | | | | rename as lib/libc/gen/arc4random_test Sponsored by: EMC / Isilon Storage Division
* Remove incorrect semicolon.stefanf2014-10-261-1/+1
|
* Bail out of the script on FreeBSD due to deterministic panic issuengie2014-10-251-0/+2
| | | | | PR: 194589 Sponsored by: EMC / Isilon Storage Division
* Bail out of the script on FreeBSD due to deterministic panic issuengie2014-10-251-0/+2
| | | | | PR: 194587 Sponsored by: EMC / Isilon Storage Division
* Bail out of the script on FreeBSD due to deterministic panic issuengie2014-10-251-0/+2
| | | | | PR: 194586 Sponsored by: EMC / Isilon Storage Division
* Bail out of the script on FreeBSD due to deterministic panic issuengie2014-10-251-0/+2
| | | | | PR: 191573 Sponsored by: EMC / Isilon Storage Division
* Move the redirection to stderr out of the cmd variable assignmentngie2014-10-251-2/+2
| | | | | | | | | Putting 2>/dev/null in cmd= escapes the redirection operation, which causes mdconfig to think it's a filename MFC after: 2 weeks X-MFC with: r273627 Sponsored by: EMC / Isilon Storage Division
* - Print out "Bail out!" in die(..) so prove terminates immediatelyngie2014-10-251-1/+2
| | | | | | | | - Handle the output from newer versions of openssl md5, similar to what pjd@ did in r248304 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Import pjdfstest from ↵ngie2014-09-24212-10470/+0
| | | | | | | | | | | | | | | | | | | | ^/vendor/pjdfstest/abf03c3a47745d4521b0e4aa141317553ca48f91 - Remove tools/regression/pjdfstest - Add upgrade directions for contrib/pjdfstest - Add a note to UPDATING for the move (the reachover Makefiles are coming soon) Functional differences: - ftruncate testcases are added from upstream (github) Non-functional differences: - The copyright for the project has been updated to 2012 - pjd's contact information has been updated Discussed with: -testing, jmmv, pjd MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Use 'cc' for the C compiler instead of 'gcc'.will2014-09-181-1/+1
| | | | | | MFC after: 1 week Sponsored by: Spectra Logic MFSpectraBSD: 1079507 on 2014/07/24
* Fix ACL tests to correctly work with ZFS; previous version used wrongtrasz2014-09-123-3/+3
| | | | | | | | paths. PR: 191545 MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Add diagnostic printfs and disable test # 4 on i386ngie2014-09-101-0/+9
| | | | | | | | Reviewed by: jmmv, rpaulo MFC after: 3 days Phabric: D749 PR: 191676 Sponsored by: EMC / Isilon Storage Division
* Expand the tests structure in test_small(..) to workaround thengie2014-09-091-19/+14
| | | | | | | | | "initializer not constant" warning with gcc Approved by: jmmv (mentor) MFC after: 3 days Phabric: D744 Sponsored by: EMC / Isilon Storage Division
* Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragmangie2014-09-092-2/+2
| | | | | | | | | This mutes warnings with clang Approved by: rpaulo (mentor) Reviewed by: das, kargl (both as part of a larger patch) Phabric: D742 Sponsored by: EMC / Isilon Storage Division
* Integrate lib/libutil into the build/kyuangie2014-08-1312-1448/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove the .t wrappers Rename all of the TAP test applications from test-<test> to <test>_test to match the convention described in the TestSuite wiki page humanize_number_test.c: - Fix -Wformat warnings with counter variables - Fix minor style(9) issues: -- Header sorting -- Variable declaration alignment/sorting in main(..) -- Fit the lines in <80 columns - Fix an off by one index error in the testcase output [*] - Remove unnecessary `extern char * optarg;` (this is already provided by unistd.h) Phabric: D555 Approved by: jmmv (mentor) MFC after: 2 weeks Obtained from: EMC / Isilon Storage Division [*] Submitted by: Casey Peel <cpeel@isilon.com> [*] Sponsored by: EMC / Isilon Storage Division
* Integrate lib/libnv into the build/kyuangie2014-08-057-1441/+0
| | | | | | | | | Rename all of the TAP test applications from <test> to <test>_test to match the convention described in the TestSuite wiki page Phabric: D538 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
* Integrate lib/libmp into the build/kyuangie2014-08-043-233/+0
| | | | | | | | | | | | | - Remove the .t wrapper - Fix -Wreturn-type warnings with clang This change has been tested on amd64/i386 Phabric: D530 Reviewed by: jmmv Approved by: jmmv (co-mentor) MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Use the right lengths.delphij2014-07-252-2/+2
| | | | | Submitted by: Sascha Wildner MFC after: 2 weeks
* Make this compilable on latest Linux'es without warnings.kib2014-07-081-2/+7
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Remove ia64.marcel2014-07-076-576/+1
| | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* - Use strlen instead of hardcoding a numbergahr2014-06-031-2/+2
| | | | | | - Terminate a sentence with a period Approved by: cognet
* - Return NULL and set errno to EINVAL if size is 0 (as required by POSIX).gahr2014-06-021-0/+47
| | | | | | | | | | Update the manpage to reflect this change. - Always set the current position to the first null-byte when opening in append mode. This makes the implementation compatible with glibc's. Update the test suite. Reported by: pho Approved by: cognet
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Note that the bug was fixed, and when.des2014-04-261-1/+1
|
* Remove NO_CTF, exccept as an undocumented compatibilityimp2014-04-251-4/+3
| | | | | | option. Convert all other uses to MK_CTF=no. Set MK_CTF=no rather than the indirect WITHOUT_CDDL in filemon regression. It is expected that NO_CTF will be removed in FreeBSD 12 entirely.
* libc/stdio: Fail fdopen() on an execute-only fd.jilles2014-04-215-1/+237
| | | | | | | | | An execute-only fd (opened with O_EXEC) allows neither read() nor write() and is therefore incompatible with all stdio modes. Therefore, the [EINVAL] error applies. Also adjust the similar check in freopen() with a NULL path, even though this checks an fd which is already from a FILE.
* libc: Add fopen() test to regression Makefile.jilles2014-04-211-3/+11
|
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-13106-106/+106
| | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* errx prepends the program name to the message; don't do it by hand.jmmv2014-03-191-1/+1
|
* Make the priv test program exit with non-zero if any failures are detected.jmmv2014-03-191-8/+33
| | | | And, mind you, this already returns a failure :-/
* Migrate tools/regression/usr.bin/pkill to the new tests layout.jmmv2014-03-1928-1009/+0
| | | | | | Interestingly, the pkill tool lives in bin, not usr.bin. Haven't bothered to check if this is because the tool moved or because the tests were originally added in the wrong place.
* Migrate tools/regression/usr.bin/make/ to the new tests layout.jmmv2014-03-19272-2225/+0
| | | | | | | | | | | | | Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind. But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@.
* Update most userspace consumers of capability.h to use capsicum.h instead.rwatson2014-03-1614-14/+14
| | | | | | | auditdistd is not updated as I will make the change upstream and then do a vendor import sometime in the next week or two. MFC after: 3 weeks
* Migrate most of tools/regression/usr.bin/ to the new tests layout.jmmv2014-03-16530-27284/+0
| | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately.
* Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.jmmv2014-03-1655-4199/+0
| | | | | | | | | | | This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately. To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
* Change etcupdate tests to return 1 on test failures.jmmv2014-03-167-21/+135
| | | | | This is a prerequisite for hooking these tests into the test suite. And, fortunately, all tests seem to pass!
* Migrate tools/regression/sbin/ to the new tests layout.jmmv2014-03-169-1118/+0
| | | | | Pretty much all that this change does is shuffles the code around and hooks it into the regular build. The code of the old tests has not changed.
* Remove AppleTalk support.glebius2014-03-143-172/+2
| | | | | | | | | | AppleTalk was a network transport protocol for Apple Macintosh devices in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk was a legacy protocol and primary networking protocol is TCP/IP. The last Mac OS X release to support AppleTalk happened in 2009. The same year routing equipment vendors (namely Cisco) end their support. Thus, AppleTalk won't be supported in FreeBSD 11.0-RELEASE.
* Remove IPX support.glebius2014-03-149-599/+0
| | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
* Remove broken tests for eui64_line.jmmv2014-03-123-92/+1
| | | | | | This function is not public and brooks (initial committer adding the code) suggests the deletion of the tests (which I don't know if they work) instead of changing the visibility of the function.
* Make the strerror tests work without libtap.jmmv2014-03-122-34/+42
| | | | | | Just replace the simple calls to the library with ad-hoc code. We should later rewrite these with the ATF libraries anyway, which are part of the base system.
* Turn a test precondition into a skip in the mdconfig tests.jmmv2014-03-121-2/+2
| | | | | | Tests that cannot be run because a precondition is not met should be marked as skipped, not failed. Do this for the tests in mdconfig that first check if the caller user is root.
* Fix sa tests.jmmv2014-03-1213-195/+202
| | | | | | 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 less fragile and the tests pass again.
OpenPOWER on IntegriCloud