summaryrefslogtreecommitdiffstats
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
* Fix for architectures where sizeof(void *) > sizeof(int).jb2006-08-041-2/+2
|
* Add a test program which performs some very basic tests of libmp(3).simon2006-07-283-0/+233
| | | | | | It is by no means expected to perform a complete test of the library for correctness, but is meant to test the API to make sure libmp (or libcrypto) updates don't totally break the library.
* Add a test case for closing a UDPv6 socket that has been connected torwatson2006-07-192-0/+30
| | | | | | the IPv6 loopback address. Warns ?= 2.
* Add very basic regression test for netinet6: create and close raw,rwatson2006-07-192-0/+67
| | | | UDP, and TCP IPv6 sockets.
* Add regression tests of the emulation of the long branch conditional form.marcel2006-07-172-0/+271
| | | | | These tests can obviously only be run on Merced processors, as they don't implement the long branch.
* o style.Makefile(5): WARNS= -> WARNS?=.maxim2006-07-0920-20/+20
|
* When extending a file with truncate, check that newly added bytes haverwatson2006-07-091-21/+55
| | | | | | | a value of 0 in the extended region. Make sure that we get EINVAL back if we try to truncate a read-only file descriptor.
* Add regression tests to make sure that attempting to call ftruncate() onrwatson2006-07-091-5/+46
| | | | various non-file objects fails.
* Add very basic ftruncate() regression test, with a comment rather morerwatson2006-07-092-0/+109
| | | | thorough than the tests regarding what should be tested.
* Add regression tests for geli(8) authentication feature.pjd2006-06-065-0/+306
| | | | Supported by: Wheel Sp. z o.o. (http://www.wheel.pl)
* - Update regression tests after recent changes.pjd2006-06-062-65/+72
| | | | - Verify various sector sizes.
* Add regression tests for IPsec.pjd2006-06-041-0/+89
|
* Output directory has gone, remove it from Makefile.maxim2006-05-311-1/+0
|
* Fix test for empty interpreter.maxim2006-05-311-1/+1
|
* o Add various regression tests for execve(2) syscall.maxim2006-05-3110-0/+227
| | | | Obtained from: NetBSD
* o Let getopt(3) report errors in command line arguments.maxim2006-05-311-13/+11
| | | | | | | | o If something is wrong with options, then output short usage help message. o Output errstr returned from strtonum(3). PR: bin/98141 Submitted by: Andrey Simonenko
* o Add a collection of regression tests for ancillary (control)maxim2006-05-294-0/+1823
| | | | | | | | | | | | | | | | | | | | | | | data passing for unix domain sockets, stream and datagram. There are 15 tests: Test/Type of socket STREAM DGRAM ---------------------------------------------------------------------- Sending, receiving cmsgcred 1 6 Receiving sockcred (listening socket has LOCAL_CREDS) 2 n/a Receiving sockcred (accepted socket has LOCAL_CREDS) 3 n/a Receiving sockcred n/a 7 Sending cmsgcred, receiving sockcred 4 8 Sending, receiving timestamp 5 9 Sending, receiving cmsgcred (no control data) 10 13 Sending cmsgcred, receiving sockcred (no control data) 11 14 Sending, receiving timestamp (no control data) 12 15 Currently we pass 8 tests. All the rest marked as TODO. PR: kern/90800 Submitted by: Andrey Simonenko
* o Test truncate(2) on fifo: it should ignore the request andmaxim2006-05-291-0/+19
| | | | | | | return success. PR: kern/98064 Submitted by: Kirk Russell
* Use WARNS and rely on rules rather than an explicit target for therwatson2006-05-252-6/+2
| | | | | | test binary. Reported by: maxim
* Add a basic regression test for sendfile() over TCP, which sends varyingrwatson2006-05-252-0/+337
| | | | | lengths of headers and data and makes sure it receives about the right number of bytes.
* o Convert to Test::Harness testing infratructure.maxim2006-05-201-0/+22
|
* o A tiny regression test exposes bug in rip_disconnect().maxim2006-05-142-0/+85
|
* Add multicast group join/leave functionality to IPv4 regressionbms2006-05-141-10/+68
| | | | test suite.
* For some time now, -i and -P options are mutually exclusive, there's evenpjd2006-05-011-1/+1
| | | | | | | a regression test init-i-P.t which asserts this, but it looks I forgot to update nokey.t regression test. MFC after: 1 day
* Add some new options to mac_bsdestended. We can now match on:dwmalone2006-04-232-8/+217
| | | | | | | | | | | | | | | | | | | | | | | subject: ranges of uid, ranges of gid, jail id objects: ranges of uid, ranges of gid, filesystem, object is suid, object is sgid, object matches subject uid/gid object type We can also negate individual conditions. The ruleset language is a superset of the previous language, so old rules should continue to work. These changes require a change to the API between libugidfw and the mac_bsdextended module. Add a version number, so we can tell if we're running mismatched versions. Update man pages to reflect changes, add extra test cases to test_ugidfw.c and add a shell script that checks that the the module seems to do what we expect. Suggestions from: rwatson, trhodes Reviewed by: trhodes MFC after: 2 months
* MFp4:marcel2006-04-101-16/+70
| | | | | | | | | | | | o Add mount and umount actions so that partitions can be in use. o Extend the testing of the add verb to include overlapping partitions. o Add tests for the remove verb. this includes tests to remove a partition when in use (i.e. is mounted). o Add a MD5 checksum to the output of the conf action so that it can be tested. Make sure the MD5 doesn't vary based on certain dynamic behaviour that is irrelevant to the output. o Add MD5 checksums to the expected result of conf actions.
* MFp4:marcel2006-04-101-17/+81
| | | | | | Add support for read-write parameters. Allow an optional initializer for read-write parameters. Print the value of those parameters on success following the PASS.
* Add a simple regression test that creates and tears down route sockets,rwatson2006-04-092-0/+108
| | | | | and confirms that only SOCK_RAW works with socket(), and nothing works with socketpair().
* Add simple regression tests that creates UNIX domain sockets usingrwatson2006-04-092-0/+91
| | | | | socket() and socketpair() of SOCK_STREAM and SOCK_DGRAM types. It also confirms that SOCK_RAW fails.
* Test that variable assignments preceding special built-ins affect the currentstefanf2006-04-091-0/+55
| | | | | shell environment, eg after "VAR=val eval" VAR remains set. Currently fails but will be implemented soon.
* Add a second pass to the close-before-accept test using a call to therwatson2006-04-031-5/+59
| | | | tcp drop sysctl. This should exercise the ECONNABORTED accept case.
* Add regression test for tcpdrop sysctl.rwatson2006-04-032-0/+257
|
* Add a regression test to exercise the case where accept() is called andrwatson2006-04-032-0/+156
| | | | the next waiting socket has had a close on the remote endpoint already.
* Add test cases that check utility syntax errors and redirection errors. Forstefanf2006-04-022-0/+99
| | | | | | special built-in utilities they must terminate the shell, for other utilities only a error message shall be written. We currently fail both tests.
* When running the second part of the test, kill off the server process fromrwatson2006-04-021-7/+10
| | | | | | | the first part before starting, or the TCP port we want to bind may be in use still. Sleep for a short period between tests. Use SIGTERM instead of SIGKILL.
* Pass the right pid into the parent and child tasks so that when a testrwatson2006-04-021-2/+2
| | | | fails, we kill the right partner process.
* Add makefile for tcpsocktimewait missed in previous commit.rwatson2006-04-021-0/+9
|
* Add a short regression test that triggers a TCP socket to enter time waitrwatson2006-04-021-0/+169
| | | | | while the socket is still open; one variant closes the socket while in time wait, and a second lets time wait expire while the socket is open.
* Add spxabort, a simple netipx/spx regression test that triggersrwatson2006-03-272-0/+108
| | | | | | | pru_abort() by closing a listen socket while completed connections are presenting in its listen queue. Unfortunately, it's difficult to trigger the other two pru_abort() cases using user APIs, so they are not covered by this test.
* Add simple regression test to ping pong a data packet over SPX in streamrwatson2006-03-262-0/+270
| | | | | | mode. Support both connection via connect() and sendto(), but don't compile in sendto() for now, since netipx doesn't appear to actually implement that (doh).
* Add a simple IPX datagram regression test, which opens two IPX datagramrwatson2006-03-262-0/+130
| | | | | sockets, binds a local port, sends a datagram, and confirms that it is received.
* Add a short README with configuration hints to get the netipx regressionrwatson2006-03-261-0/+11
| | | | | tests up and running. This is likely a message to myself in six months when I've completely forgotten how.
* Modify ipxsocket regression test to create and close sockets severalrwatson2006-03-261-22/+43
| | | | | | | | times, with variable length sleeps between socket() and close(). This will help to ensure that IPX/SPX timers fire while the sockets are open, and hence have PCB's on the IPX pcb list, so that if timers are going to stumble over PCB types they don't expect, it will happen as part of this test.
* Add simple ipxsocket regression test: open, and close, various IPX socketrwatson2006-03-262-0/+80
| | | | types supported by the FreeBSD netipx implementation.
* Merge Perforce change 93572 from TrustedBSD audit3 branch:rwatson2006-03-192-0/+152
| | | | | | Simple audit pipe ioctl regression test. Obtained from: TrustedBSD Project
* Change s_net to s_node when printing the destination address.rwatson2006-03-171-1/+1
|
* NO_MAN is not needed here.ru2006-03-162-2/+0
|
* Style: NO_MAN doesn't need any value.ru2006-03-1513-14/+13
|
* NOMAN --> NO_MANume2006-03-071-1/+1
|
* Add regression test which verifies that options -P and -i cannot be usedpjd2006-02-121-0/+22
| | | | | | together. MFC after: 3 days
OpenPOWER on IntegriCloud