diff options
author | pjd <pjd@FreeBSD.org> | 2007-01-17 01:42:12 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-01-17 01:42:12 +0000 |
commit | 2f68acd7f70c5ec863ae674084f63419cf37801e (patch) | |
tree | cc16d091d5d85804bc3b295c3fce1b73aa0ac51e /tools/regression/fstest/Makefile | |
parent | 199c2180b10842922c716b5b4dd150d1628f2b88 (diff) | |
download | FreeBSD-src-2f68acd7f70c5ec863ae674084f63419cf37801e.zip FreeBSD-src-2f68acd7f70c5ec863ae674084f63419cf37801e.tar.gz |
Add 3436 file system regression tests in 184 files.
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
Diffstat (limited to 'tools/regression/fstest/Makefile')
-rw-r--r-- | tools/regression/fstest/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/regression/fstest/Makefile b/tools/regression/fstest/Makefile new file mode 100644 index 0000000..0781730 --- /dev/null +++ b/tools/regression/fstest/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +CFLAGS+=-DHAS_LCHMOD +CFLAGS+=-DHAS_CHFLAGS +CFLAGS+=-DHAS_LCHFLAGS +#CFLAGS+=-DHAS_TRUNCATE64 +#CFLAGS+=-DHAS_STAT64 + +all: fstest + +fstest: fstest.c + gcc -Wall ${CFLAGS} fstest.c -o fstest + +clean: + rm -f fstest |