-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
0 parents
commit ecbf626
Showing
190 changed files
with
8,242 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]> |
Oops, something went wrong.