aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/fstest/fstest.c
Commit message (Collapse)AuthorAgeFilesLines
* Give fstest a more unique name: pjdfstest.Pawel Jakub Dawidek2010-08-151-1181/+0
| | | | | | | | It is released from time to time and used outside FreeBSD, so it is good to have a name one can google. Notes: svn path=/head/; revision=211352
* Update copyright years.Pawel Jakub Dawidek2010-08-151-1/+1
| | | | Notes: svn path=/head/; revision=211351
* Linux has no strlcpy().Pawel Jakub Dawidek2010-08-091-2/+4
| | | | Notes: svn path=/head/; revision=211116
* Fix bind(2) and connect(2) support on Solaris.Pawel Jakub Dawidek2010-08-091-10/+8
| | | | Notes: svn path=/head/; revision=211110
* Add mknod(2) support.Pawel Jakub Dawidek2010-08-061-0/+33
| | | | | | | | Submitted by: Jan Senolt <senoltj@centrum.cz> Submitted by: Milan Cermak <Milan.Cermak@Sun.COM> Notes: svn path=/head/; revision=210965
* Sort includes.Pawel Jakub Dawidek2010-08-061-6/+7
| | | | Notes: svn path=/head/; revision=210964
* Add missing -U argument to usage.Pawel Jakub Dawidek2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210952
* Implement two new syscalls: bind(2) and connect(2) for operating on UNIXPawel Jakub Dawidek2010-08-061-0/+32
| | | | | | | domain sockets. Notes: svn path=/head/; revision=210951
* Add regression tests for NFSv4 ACL granular permission enforcement.Edward Tomasz Napierala2009-09-071-1/+61
| | | | Notes: svn path=/head/; revision=196948
* lchflags(2) takes int, not u_long like chflags(2) and fchflags(2).Pawel Jakub Dawidek2009-06-031-1/+1
| | | | | | | | | Strange, isn't it? Pointed out by: bde Notes: svn path=/head/; revision=193373
* Add explicit casting in few places.Pawel Jakub Dawidek2009-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> Notes: svn path=/head/; revision=188934
* Add support for pathconf(2).Pawel Jakub Dawidek2008-11-231-1/+57
| | | | Notes: svn path=/head/; revision=185219
* Make fstest work out-of-the-box on Solaris:Pawel Jakub Dawidek2007-07-181-0/+4
| | | | | | | | | | | | | - Solaris' setgroups(2) doesn't change process' effective gid, so set it explicitly. - POSIX doesn't define O_NOFOLLOW. FreeBSD returns EMLINK when target is a symbolic link, but Solaris returns ELOOP then. - Solaris doesn't define O_SHLOCK and O_EXLOCK flags. Approved by: re (rwatson) Notes: svn path=/head/; revision=171486
* Add 3436 file system regression tests in 184 files.Pawel Jakub Dawidek2007-01-171-0/+995
Almost all regression tests are based on very flexible fstest tool. They verify correctness (POSIX conformance) of almost all file system-related system calls. The motivation behind this work is my ZFS port and POSIX, who doesn't provide free test suites. Runs on: FreeBSD/UFS, FreeBSD/ZFS, Solaris/UFS, Solaris/ZFS To try it out: # cd fstest # make # find tests/* -type d | xargs prove Notes: svn path=/head/; revision=166065