summaryrefslogtreecommitdiffstats
path: root/tools/regression/fstest/fstest.c
Commit message (Collapse)AuthorAgeFilesLines
* 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 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 support for pathconf(2).pjd2008-11-231-1/+57
|
* Make fstest work out-of-the-box on Solaris:pjd2007-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)
* Add 3436 file system regression tests in 184 files.pjd2007-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
OpenPOWER on IntegriCloud