freebsd-skq/tools/regression/fstest
pjd 9b52656cc2 Make fstest work out-of-the-box on Solaris:
- 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)
2007-07-18 18:07:15 +00:00
..
tests Make fstest work out-of-the-box on Solaris: 2007-07-18 18:07:15 +00:00
fstest.c Make fstest work out-of-the-box on Solaris: 2007-07-18 18:07:15 +00:00
LICENSE
Makefile
README Simple README file which shows how to use fstest. 2007-01-28 00:10:28 +00:00

$FreeBSD$

Few notes on how to use fstest in short steps:

	# cd fstest
	# vi tests/conf
	Change 'fs' to file system type you want to test (UFS or ZFS).
	# vi Makefile
	You need to manually tweak few things by editing CFLAGS lines
	at the top of the file.
	# make
	It will compile fstest utility which is used by regression tests.
	# cd /path/to/file/system/you/want/to/test/
	# prove -r /path/to/fstest/

That's all. Enjoy.

Currently supported operating systems: FreeBSD, Solaris.
Currently supported file system types: UFS, ZFS.

-- 
Pawel Jakub Dawidek <pjd@FreeBSD.org>