summaryrefslogtreecommitdiffstats
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
* Add another regression test - one we don't pass right now.silby2005-04-171-0/+22
|
* Have the regression test use a path in /tmp for a mount pointsilby2005-04-171-6/+8
| | | | instead of a directory that only exists on my machine.
* Those who are ungodlike should be returned an error.trhodes2005-04-161-0/+6
|
* Starting point for a regression test for mac_bsdextended(4)/libugidfw(3).rwatson2005-04-162-0/+198
| | | | | | | | | Currently only performs basic tests against the library string routines, and queries less important kernel state. Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA MFC after: 3 days
* Also test \0 in the format string.stefanf2005-04-142-1/+1
|
* Add a few regression tests for printf(1).stefanf2005-04-1312-1/+38
|
* A simple regression test for msdosfs. Not the best, but it would have caughtsilby2005-04-081-0/+21
| | | | the recent trouble msdosfs had.
* Add missing test-rem.t.das2005-04-021-0/+10
|
* A few simple regression tests for remainder(), remainderf(),das2005-03-252-1/+144
| | | | remquo(), and remquof().
* Add regression tests for pkill/pgrep.pjd2005-03-2025-0/+803
| | | | MFC after: 3 days
* - Replace fe[gs]etmask() with feenableexcept(), fedisableexcept(), anddas2005-03-161-12/+31
| | | | | | | fegetexcept(). - Add additional tests for the above. - Output a separate success message for each of the 8 components of this set of tests.
* Check the return value of shutdown().rwatson2005-03-111-4/+8
|
* Add sigpipe, a simple UNIX domain socket and TCP regression test that isrwatson2005-03-112-0/+327
| | | | | | | | | | | | | intended to verify that SIGPIPE is delivered to a process writing or sending on a socket that has been shut down for write. If available, SO_NOSIGPIPE is also tested. This regression test is currently passed by RELENG_4, but not by HEAD or RELENG_5, due to a bug in the write() code for sockets. SO_NOSIGPIPE is not present in RELENG_4, however, so is not tested there. Reported by: Mikko Tyolajarvi <mbsd at pacbell dot net> PR: 78478
* Test cases for nextafter{,f,l} and nexttoward{,f,l}.das2005-03-073-1/+272
|
* Repo-copy tools/regression/usr.bin/make to tools/build/make_checkharti2005-03-028-323/+1
| | | | | | | | and adjust the path in the Makefile for the upgrade_checks target. These checks are really feature upgrade checks that should be fast and just find out whether we need to build a new make before proceeding with other targets like buildworld. This makes the place free for a real regression test suite in the old place.
* This will not compile without:ambrisko2005-03-022-0/+252
| | | | | | | | | | | http://www.ambrisko.com/doug/listio_kqueue/listio_kqueue.patch Note: it is a good idea to run this against a physical drive to exercise the physio fast path (ie. lio_kqueue /dev/<something safe>) This will ensure op's counting per LIO request is correct. It is currently broken the above patch fixes it. Sponsored by: IronPort
* Add an AIO & kqueue regression test. It is a good idea to run thisambrisko2005-03-022-0/+203
| | | | | | | | | | | | | | | against a disk as the argument. If you don't it will use a temp file. The raw disk will use the kernel physio fast path method until the max number of pending op's is reached then it will queue them. File system op's are always queued. This is more important with LIO since operation can get split across and accounting of op's is broken with LIO. Note that this was broken when locking was added to kqueue (ie. 5.3) My fix needs to be better integrated with FreeBSD. Next is an LIO test and implementation. Sponsored by: IronPort
* - Split tests into three rough categories.das2005-03-011-6/+98
| | | | | | | | | | | - Use fesetround() instead of fpsetround(), and add tests for various rounding modes. - Test that all NaNs generated are quiet. Some of these tests won't pass until problems in vendor sources (gdtoa and gcc) are fixed and new versions imported, but I want to get these changes into the tree before I accidentally blow them away again. :-(
* - Split the printfloat test into 11 individually wrapped and packageddas2005-03-012-8/+100
| | | | | | | | | | | | | | tests. (Buy 10, get one free!) The separate categories were already there; they just weren't labeled. - Use fesetround() instead of fpsetround(), since the former is standard and implemented on all supported architectures. Add tests for each rounding mode. - Add additional tests for subnormals. Some of these tests won't pass until problems in vendor sources (gdtoa and gcc) are fixed and new versions imported, but I want to get these changes into the tree before I accidentally blow them away.
* Add a simple regression test for stream UNIX domain sockets and therwatson2005-02-202-0/+325
| | | | | | bind()/connect() system calls, which is intended to confirm that the right successes and errors occur when rendezvousing via the file system name space.
* Add to CFLAGS.ru2005-02-121-1/+1
|
* Add to CFLAGS, rather than overriding it. Use LDFLAGS for the -L option,nik2005-02-011-2/+3
| | | | | | and LDLIBS to specify -ltap. Submitted by: ru
* Link against libtap (ports/devel/libtap). Replace the calls to assert()nik2005-02-012-31/+32
| | | | | with calls to libtap::ok1(), and make sure the correct number of tests is planned for, and that the exit code is correct.
* Wrap calls to memcpy(3) in a function called block_copy(). This way,marcel2005-01-281-2/+9
| | | | | | | | | and as long as we're not compiling with IPA, gcc(1) won't optimize the call away. The whole purpose of using memcpy(3) is to avoid misaligned loads and stores when we need to read or write the value in the unaligned memory location. But if gcc(1) optimizes the call to memcpy(3) away, it will typically introduce misaligned loads and stores. In this context that's not a good idea.
* Skip the register based postinc stores here and don't count themmarcel2005-01-271-5/+12
| | | | | | in the number of tests. This way we avoid skipped tests for non- existent memory access combinations. The number of tests dropped from 60 to 48.
* Make the local variables global so that the compiler cannot assumemarcel2005-01-271-4/+5
| | | | | too much about them. This prevents certain peephole optimizations at -O that invalidate the tests.
* Fix the unaligned store with post increment test: The misaligned pointermarcel2005-01-271-1/+1
| | | | | | stopped pointing to the value the moment we wrote it due to the post increment. So, grab the value for comparison out of the data structure directly.
* The unit test for unaligned loads/stores can be found under ../ia64.marcel2005-01-272-137/+0
|
* Add tests for post increment. This bumps the number of tests up tomarcel2005-01-272-37/+181
| | | | | | 60. The postinc store tests currently fail (value mismatch). Hence the score as of this commit is 48 out of 60. Either the kernel or the tests need to be fixed.
* Use WARNS?= instead of WARNS= in Makefiles so that global warningrwatson2005-01-223-3/+3
| | | | | | settings can override local ones. Pointed out by: ru
* Add two more pipe regression tests. Not yet hooked into the test framework.silby2005-01-212-0/+116
|
* In refactoring the test before committing, a pointer was passed insteadrwatson2005-01-161-2/+2
| | | | | | | of a structure for the sockaddr_in. Pass the pointer to connect() instead of the pointer to the pointer. Specify a port number to connect to.
* Add udpconnectjail, a simple regression test to exercise an (as yet)rwatson2005-01-162-0/+117
| | | | | | | unfixed bug in the jail() implementation relating to using the connect() system call on UDP sockets. PR: 26506
* Add test which excersises problem with unability to change association ofsobomax2005-01-122-0/+149
| | | | | already associated datagram unix domain socket by issuing connect() system call.
* Regression tests for [l]lrint[f]() and [l]lround[f]().das2005-01-115-1/+258
|
* Introduce a new GEOM class - SHSEC. It provides sharing secret betweenpjd2005-01-114-0/+109
| | | | | | | | the given providers. Without even one of the configured components there should be no way to get the secret. Supported by: WHEEL Sp. z o.o. http://www.wheel.pl
* Fix incorrect comment.pjd2005-01-111-1/+1
| | | | MFC after: 3 days
* Add a simple regression test for mlock()/munlock() to make sure theyrwatson2005-01-032-0/+97
| | | | | | work on a single page as root, and fails on a single page as nobody. Intended to help diagnose reports regarding insecure memory use with gnupg.
* Replace a mention of the ia64_unaligned directory with one of themarcel2005-01-021-1/+1
| | | | | ia64 subdirectory. All ia64 specific regression tests live under the ia64 directory.
* Regression test for unaligned loads and stores for short, int, long,marcel2005-01-022-0/+144
| | | | | | float, double and long double types. No post-increment tests yet. All tests are skipped if the debug.unaligned_test sysctl variable cannot be set to 1.
* Wait a bit after creating device.pjd2004-12-217-7/+7
|
* When RAID3 device is configured in "verify" mode, synchronization of thepjd2004-12-211-2/+12
| | | | | | parity component is now force on creation. Change regression test which check "verify" mode to work properly after this change.
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-2130-31/+31
| | | | OK'ed by: core
* Loadable modules that run test vectors for net80211 crypto plugins.sam2004-12-086-0/+1493
|
* Fix builds with a read-only directory and a make upgrade. This is doneharti2004-12-071-6/+4
| | | | | | | | by forcing the creation of an object directory for the make regression tests. Let make handle the tracking of the dependency and installation of test_shell script. Submitted by: ru
* Print a warning if running as !root for aio_md_test rather than failingrwatson2004-12-061-1/+5
| | | | the test. Privilege is required in order to allocate an md device.
* Add a basic aio functionality regression test, which simply writes andrwatson2004-12-062-0/+702
| | | | | | | | | then reads from a fairly broad range of object types: regular file, fifo, UNIX socketpair, pty, UNIX pipe, and an md device. Not a deep test of functionality, just a basic test that aio_write followed by aio_read returns the correct data in a relatively timely manner. Requested by: phk
* Make this work under debugging, e.g., "make -dl".ru2004-12-061-1/+1
|
* Make the tests runnable on a read-only src. To do this you must make sureharti2004-12-022-49/+63
| | | | | | | | | | | | that you create one of the object directories make knows (see make(1)). This uses the -C flag, so add a test that checks that make actually accepts -C. Also fix the test that selects csh via the .SHELL target to work for tcsh users too. This commit renames shell_test to shell_test.sh. There is no history to preserve so go without a repo-copy. Reviewed by: ru
* The following code sets up two connected TCP sockets that send data to eachnik2004-12-013-0/+144
| | | | | | | | | | | | | other until the window is closed. Then one of the sockets is closed, which will generate a RST once the TCP at the other socket does a window probe. All versions of FreeBSD prior to 11/26/2004 will ignore this RST into a 0 window, causing the connection (and application) to hang indefinitely. On patched versions of FreeBSD (and other operating systems), the RST will be accepted and the program will exit in a few seconds. Submitted by: Michiel Boland Reviewed by: silby
OpenPOWER on IntegriCloud