Skip to content

Commit ce87e35

Browse files
author
szaka
committed
support and default to Linux/ext3
1 parent e3e75ab commit ce87e35

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

README

+8-3
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,24 @@ Few notes on how to use fstest in short steps:
44

55
# cd fstest
66
# vi tests/conf
7-
Change 'fs' to file system type you want to test (UFS, ZFS, other).
7+
Change 'fs' to file system type you want to test (UFS, ZFS, ext3).
88
# vi Makefile
99
You may need to manually tweak few things by editing CFLAGS lines
1010
at the top of the file.
1111
# make
1212
It will compile fstest utility which is used by regression tests.
1313
# cd /path/to/file/system/you/want/to/test/
14+
The test must be run as root user.
1415
# prove -r /path/to/fstest/
1516

1617
That's all. Enjoy.
1718

1819
Currently supported operating systems: FreeBSD, Solaris, Linux.
19-
Currently supported file system types: UFS, ZFS, other.
20+
Currently supported file system types: UFS, ZFS, ext3.
2021

21-
--
22+
Author:
2223
Pawel Jakub Dawidek <[email protected]>
24+
25+
Linux port:
26+
Jean-Pierre Andre <[email protected]>
27+
Szabolcs Szakacsits <[email protected]>

tests/conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# Known operating systems: FreeBSD, SunOS, Linux
55
os=`uname`
66

7-
# Known file systems: UFS, ZFS, other
8-
fs="other"
7+
# Known file systems: UFS, ZFS, ext3
8+
fs="ext3"

tests/unlink/08.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SunOS:UFS)
1616
expect 0 unlink ${n0}
1717
expect ENOENT rmdir ${n0}
1818
;;
19-
Linux:other)
19+
Linux:*)
2020
# Non-POSIX value returned by Linux since 2.1.132
2121
expect EISDIR unlink ${n0}
2222
expect 0 rmdir ${n0}

0 commit comments

Comments
 (0)