freebsd-dev/contrib/pjdfstest
Enji Cooper f95c930e67 Fix race when testing for ETXTBSY writing to ${n0} (process image) by making
sure the process has been started beforehand with pgrep

pkill the process afterwards to make sure it's dead when the unlink is run
(not strictly required, but I was being conservative)

MFC after: 1 week
Reviewed by: Darius O'Conner, mjohnston
Sponsored by: EMC / Isilon Storage Division
2015-04-16 03:35:47 +00:00
..
tests Fix race when testing for ETXTBSY writing to ${n0} (process image) by making 2015-04-16 03:35:47 +00:00
FREEBSD-upgrade
LICENSE
Makefile
pjdfstest.c
README

$FreeBSD: head/tools/regression/pjdfstest/README 211354 2010-08-15 21:29:03Z pjd $

Few notes on how to use pjdfstest in short steps:

	# cd pjdfstest
	# 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 pjdfstest utility which is used by regression tests.
	# cd /path/to/file/system/you/want/to/test/
	# prove -r /path/to/pjdfstest/tests

That's all. Enjoy.

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

-- 
Pawel Jakub Dawidek <pawel@dawidek.net>