Skip to content

Commit

Permalink
Posix Filesystem Test Suite
Browse files Browse the repository at this point in the history
This is Pawel Jakub Dawidek POSIX Filesystem Test Suite which he
put together when porting ZFS to FreeBSD.  Subsequent to his work
the test suite was updated to be Linux friendly by Tuxera.  This
is the extended Tuxera version of fstest.

http://people.freebsd.org/~pjd/pjdfstest/
http://www.tuxera.com/community/posix-test-suite/
  • Loading branch information
behlendorf committed Feb 16, 2011
0 parents commit ecbf626
Show file tree
Hide file tree
Showing 190 changed files with 8,242 additions and 0 deletions.
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
$FreeBSD: src/tools/regression/fstest/LICENSE,v 1.1 2007/01/17 01:42:07 pjd Exp $

License for all regression tests available with fstest:

Copyright (c) 2006-2007 Pawel Jakub Dawidek <[email protected]>
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# $FreeBSD: src/tools/regression/fstest/Makefile,v 1.1 2007/01/17 01:42:07 pjd Exp $

#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
28 changes: 28 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
$FreeBSD: src/tools/regression/fstest/README,v 1.1 2007/01/28 00:10:28 pjd Exp $

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. These can be:
UFS, ZFS, ext3, ntfs-3g and xfs.
# vi Makefile
You may 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/
The test must be run as root user.
# prove -r /path/to/fstest/

That's all. Enjoy.

Currently supported operating systems: FreeBSD, Solaris, Linux.
Currently supported file system types: UFS, ZFS, ext3, ntfs-3g, xfs.

Author:
Pawel Jakub Dawidek <[email protected]>

Linux port:
Jean-Pierre Andre <[email protected]>
Szabolcs Szakacsits <[email protected]>
Loading

0 comments on commit ecbf626

Please sign in to comment.