summaryrefslogtreecommitdiffstats
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
* Fix some uninitialise variables.brian2009-07-082-1/+102
| | | | | | | PR: 136383 Submitted by: Ulrich Spoerlein - uqs at spoerlein dot net Approved by: re (kib) MFC after: 3 weeks
* Fix fpathconf(3) on fifos, in effect making ls(1) properlytrasz2009-07-021-0/+34
| | | | | | | | | display '+' on them. Taken from kern/125613, with cosmetic changes. PR: kern/125613 Submitted by: Jaakko Heinonen <jh at saunalahti dot fi> Approved by: re (kib)
* Add some tests for r194975 and r194977.jilles2009-06-251-0/+35
| | | | Approved by: ed (mentor) (implicit)
* Designate special builtins as such in command -V and type.jilles2009-06-241-1/+1
| | | | | | Also document various properties of special builtins that we implement. Approved by: ed (mentor) (implicit)
* Add test for r190698.jilles2009-06-241-0/+7
| | | | | Submitted by: Eygene Ryabinkin Approved by: ed (mentor) (implicit)
* Add tests for r194774.jilles2009-06-231-0/+9
| | | | Approved by: ed (mentor) (implicit)
* Up the scale of the SPX loopback check a bit: use much larger data sizesrwatson2009-06-201-59/+38
| | | | so that we need to do segmentation.
* Add tests for r194406 and r194516.jilles2009-06-192-0/+56
| | | | Approved by: ed (mentor)
* Add a new 'void closefrom(int lowfd)' system call. When called, it closesjhb2009-06-153-0/+293
| | | | | | | | | | | | | | | | | | | | any open file descriptors >= 'lowfd'. It is largely identical to the same function on other operating systems such as Solaris, DFly, NetBSD, and OpenBSD. One difference from other *BSD is that this closefrom() does not fail with any errors. In practice, while the manpages for NetBSD and OpenBSD claim that they return EINTR, they ignore internal errors from close() and never return EINTR. DFly does return EINTR, but for the common use case (closing fd's prior to execve()), the caller really wants all fd's closed and returning EINTR just forces callers to call closefrom() in a loop until it stops failing. Note that this implementation of closefrom(2) does not make any effort to resolve userland races with open(2) in other threads. As such, it is not multithread safe. Submitted by: rwatson (initial version) Reviewed by: rwatson MFC after: 2 weeks
* Add tests for r194127 and r194128.jilles2009-06-142-0/+29
| | | | Approved by: ed (mentor)
* Check that flopen() can lock against self and that children inherit the lock.des2009-06-061-6/+41
|
* lchflags(2) takes int, not u_long like chflags(2) and fchflags(2).pjd2009-06-031-1/+1
| | | | | | Strange, isn't it? Pointed out by: bde
* Add tests for r193169.stefanf2009-05-314-0/+17
|
* Add a regression test for multiple threads of the same process acquiring the ↵zml2009-05-282-0/+110
| | | | | | same fcntl lock. Approved by: dfr (mentor)
* Increment the counter outside the subshell.des2009-05-271-1/+1
|
* Add the regression test for bin/date.edwin2009-05-271-0/+1
|
* Add a regression test for kern/21768.des2009-05-261-0/+42
| | | | MFC after: 1 week
* Regression test the 'addr1,+N' feature added in r192732brian2009-05-253-0/+10
|
* Add regression tests for the date(1) + argument for user-definededwin2009-05-203-0/+99
| | | | | | | | format strings. PR: bin/127514 Submitted by: edwin@ MFC after: 1 week
* Add a test for r191009.stefanf2009-04-131-0/+2
|
* Add a few more regression tests for POSIX.1e ACLs.trasz2009-04-131-2/+114
|
* Return -1 instead of 0 upon reaching EOF. This is somewhat ill-adviseddas2009-04-061-2/+2
| | | | | | | | because it means getdelim() returns -1 for both error and EOF, and never returns 0. However, this is what the original GNU implementation does, and POSIX inherited the bug. Reported by: marcus@
* Test the r190298 change.stefanf2009-03-222-0/+2
|
* Add a few tests for the read built-in.stefanf2009-03-222-0/+44
|
* Update test for r190284.stefanf2009-03-222-1/+3
|
* Update and extend the tests for alias.stefanf2009-03-222-1/+5
|
* Oops. Correct comment in the LICENSE file.pjd2009-03-141-1/+1
|
* Regression tests for mac_portacl(4).pjd2009-03-144-0/+242
|
* Switch over to gnu99 compilation on default for userland.rdivacky2009-03-141-1/+2
| | | | | | | | Tested by: make universe Tested by: ports exp build (done by pav) Reviewed by: ru Reviewed by: silence on arch Approved by: ed (mentor)
* Rename files that collide on case-insensitive file systems by encodingrwatson2009-03-103-0/+0
| | | | | | | | | colliding upper case letters as the lower case letter with a '_' in front. MFC after: 3 days Discussed with: ed Spotted by: Michael David Crawford <mdc at prgmr.com>
* In UNIX domain socket GC regression test, after setting a socketrwatson2009-03-081-1/+1
| | | | non-blocking, EINPROGRESS is an acceptable result from connect().
* Tests for getdelim().das2009-02-282-1/+169
|
* Add a file containing tests for simple format specifiers.das2009-02-282-1/+157
| | | | | Currently it only has tests for a few sign issues with integer formats, including PR 131880.
* Tests for wcscasecmp(), wcsnlen(), and stpncpy().das2009-02-284-1/+269
|
* Rename all symbols in libmp(3) to mp_*, just like Solaris.ed2009-02-261-59/+59
| | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
* Add explicit casting in few places.pjd2009-02-231-12/+12
| | | | | | | | | It is only really necessary for open(2)'s third argument, which is optional and obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64 bits. On little endian it works, because we take lower 32 bits, but on big endian platforms we take upper 32 bits, so we end up with 0. Reported by: Milan Čermák <Milan.Cermak@Sun.COM>
* Add a regresion test to determine whether or not a file descriptor isrwatson2009-02-112-0/+129
| | | | | | | | | | | | | | | | | allocated in a fork(2)-inheritable way at the beginning or end of an accept(2) system call. This test creates a test thread and blocks it in accept(2), then forks a child process which tests to see if the next available file descriptor is defined or not (EBADF vs EINVAL for ftruncate(2)). This detects a regression introduced during the network stack locking work, in which a very narrow race during which fork(2) from one thread during accept(2) in a second thread lead to an extra inherited file descriptor turned into a very wide race ensuring that a descriptor was leaked into the child even though it hadn't been returned. PR: kern/130348
* Test wprintf() in addition to printf().das2009-01-311-3/+19
|
* Add tests for conj{,f,l}() that I wrote some time ago. These test thedas2009-01-313-1/+169
| | | | versions in libm, not the gcc builtins.
* Be more Solaris-friendly.pjd2009-01-162-4/+8
| | | | Submitted by: Milan Cermak <Milan.Cermak@Sun.COM>
* Allow jot(1) regression tests to be checked out on Windows filesystems.ed2009-01-162-1/+1
| | | | | | | | The jot(1) regression tests directory contained two tests named `wx' and `wX', which doesn't work on case insensitive filesystems. Rename `wX' to `wX1'. MFC after: 1 month
* Update for 185401, errors now go to stderr.stefanf2008-11-281-0/+0
|
* Add tools-level test for POSIX.1e functionality.trasz2008-11-253-0/+632
| | | | Approved by: rwatson (mentor)
* This actually works on Linux, I just had wrong directory permission.pjd2008-11-241-4/+0
| | | | Found by: trasz
* Include TODO messages even if tests succeeds, so we can detect when somethingpjd2008-11-241-6/+18
| | | | suddenly started to work.
* Add a test for r185231.stefanf2008-11-231-0/+9
|
* Mark all the places where Linux is not POSIX-compilant. Tested on ext3.pjd2008-11-233-0/+8
|
* fstest for Linux:pjd2008-11-239-56/+53
| | | | | | | - Use -- when needed so Linux getopt(3) won't get confused. - Follow POSIX more closely. Submitted by: Szabolcs Szakacsits <szaka@ntfs-3g.org>
* fstest for Linux:pjd2008-11-231-2/+26
| | | | Automatically detect file system type.
* FreeBSD's way of handling rmdir("..") is not POSIX-compilant.pjd2008-11-231-9/+3
|
OpenPOWER on IntegriCloud