aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/fstest
Commit message (Collapse)AuthorAgeFilesLines
* Give fstest a more unique name: pjdfstest.Pawel Jakub Dawidek2010-08-15211-10068/+0
| | | | | | | | It is released from time to time and used outside FreeBSD, so it is good to have a name one can google. Notes: svn path=/head/; revision=211352
* Update copyright years.Pawel Jakub Dawidek2010-08-152-2/+2
| | | | Notes: svn path=/head/; revision=211351
* More tests.Pawel Jakub Dawidek2010-08-151-400/+419
| | | | Notes: svn path=/head/; revision=211350
* More tests (especially for lchmod(2)), less code duplication.Pawel Jakub Dawidek2010-08-159-156/+285
| | | | Notes: svn path=/head/; revision=211336
* - Use loops to avoid code duplication.Pawel Jakub Dawidek2010-08-133-133/+101
| | | | | | | - More tests. Notes: svn path=/head/; revision=211290
* More tests.Pawel Jakub Dawidek2010-08-122-101/+63
| | | | Notes: svn path=/head/; revision=211242
* Portable Makefile.Pawel Jakub Dawidek2010-08-121-20/+21
| | | | Notes: svn path=/head/; revision=211235
* Fix copy&pasted code - we want to create character device here.Pawel Jakub Dawidek2010-08-121-4/+4
| | | | Notes: svn path=/head/; revision=211234
* - Use loops where possible to avoid code duplication.Pawel Jakub Dawidek2010-08-1114-733/+208
| | | | | | | | - Don't pass uid and gid to create_file() if not needed. - More tests. Notes: svn path=/head/; revision=211186
* Allow to specify uid, gid and mode for create_file().Pawel Jakub Dawidek2010-08-111-3/+13
| | | | Notes: svn path=/head/; revision=211185
* More and more tests.Pawel Jakub Dawidek2010-08-118-626/+583
| | | | Notes: svn path=/head/; revision=211180
* Move create_file() to misc.sh, as it is going to be used in more places.Pawel Jakub Dawidek2010-08-111-0/+35
| | | | Notes: svn path=/head/; revision=211179
* Make use of recently added dirgen_max() and namegen_max() to implementPawel Jakub Dawidek2010-08-1126-266/+356
| | | | | | | ENAMETOOLONG checks. Notes: svn path=/head/; revision=211178
* Instead of hardcoding {NAME_MAX} as 255 and {PATH_MAX} as 1024 obtain those fromPawel Jakub Dawidek2010-08-111-7/+46
| | | | | | | | pathconf(2) and properly generate too long file names. This should fix ENAMETOOLONG checks on Linux. Notes: svn path=/head/; revision=211177
* More tests, mostly related to devices and sockets.Pawel Jakub Dawidek2010-08-1012-217/+666
| | | | Notes: svn path=/head/; revision=211156
* Linux has no strlcpy().Pawel Jakub Dawidek2010-08-091-2/+4
| | | | Notes: svn path=/head/; revision=211116
* Fix bind(2) and connect(2) support on Solaris.Pawel Jakub Dawidek2010-08-091-10/+8
| | | | Notes: svn path=/head/; revision=211110
* Fix file system type detection on Solaris.Pawel Jakub Dawidek2010-08-091-1/+1
| | | | Notes: svn path=/head/; revision=211109
* Small tweaks.Pawel Jakub Dawidek2010-08-092-8/+8
| | | | Notes: svn path=/head/; revision=211108
* No need to use grep to check if path start with /.Pawel Jakub Dawidek2010-08-091-4/+6
| | | | | | | Suggested by: ed Notes: svn path=/head/; revision=211107
* Various cleanups, mostly to make the test work on FreeBSD/ZFS.Pawel Jakub Dawidek2010-08-0648-904/+1253
| | | | Notes: svn path=/head/; revision=210984
* ${GREP} can only be used after loading 'conf'.Pawel Jakub Dawidek2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210973
* Don't use egrep directly - use ${GREP}.Pawel Jakub Dawidek2010-08-061-3/+3
| | | | Notes: svn path=/head/; revision=210972
* Check first todo() argument against operating system name and operating systemPawel Jakub Dawidek2010-08-061-2/+1
| | | | | | | name plus file system name. Notes: svn path=/head/; revision=210971
* For FreeBSD and Linux use awk's toupper() function.Pawel Jakub Dawidek2010-08-061-2/+2
| | | | | | | Suggested by: ed Notes: svn path=/head/; revision=210970
* Convert file system type to upper case.Pawel Jakub Dawidek2010-08-061-2/+2
| | | | Notes: svn path=/head/; revision=210969
* Add tests for mknod(2).Pawel Jakub Dawidek2010-08-0612-0/+408
| | | | | | | | | Submitted by: Jan Senolt <senoltj@centrum.cz> Submitted by: Milan Cermak <Milan.Cermak@Sun.COM> Polished by: pjd Notes: svn path=/head/; revision=210967
* Add mknod(2) support.Pawel Jakub Dawidek2010-08-061-0/+33
| | | | | | | | Submitted by: Jan Senolt <senoltj@centrum.cz> Submitted by: Milan Cermak <Milan.Cermak@Sun.COM> Notes: svn path=/head/; revision=210965
* Sort includes.Pawel Jakub Dawidek2010-08-061-6/+7
| | | | Notes: svn path=/head/; revision=210964
* open(2) returns EOPNOTSUPP when trying to open a socket.Pawel Jakub Dawidek2010-08-061-0/+17
| | | | Notes: svn path=/head/; revision=210956
* Test for EACCES also when opening FIFO or directory.Pawel Jakub Dawidek2010-08-061-26/+124
| | | | Notes: svn path=/head/; revision=210955
* Test O_RDONLY|O_RDWR flags as potentially invalid.Pawel Jakub Dawidek2010-08-061-1/+2
| | | | Notes: svn path=/head/; revision=210954
* Make description readable.Pawel Jakub Dawidek2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210953
* Add missing -U argument to usage.Pawel Jakub Dawidek2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210952
* Implement two new syscalls: bind(2) and connect(2) for operating on UNIXPawel Jakub Dawidek2010-08-061-0/+32
| | | | | | | domain sockets. Notes: svn path=/head/; revision=210951
* o Makefile BSDfication.Maxim Konovalov2010-06-041-23/+17
| | | | | | | | PR: misc/147461 (with my changes) Submitted by: Erik Cederstrand Notes: svn path=/head/; revision=208798
* Fix a case where rename actually succeeds, which is also expected behaviourPawel Jakub Dawidek2009-10-201-2/+3
| | | | | | | | | according to POSIX. This fixes ZFS on Solaris testing. Submitted by: Milan Cermak <Milan.Cermak@Sun.COM> Notes: svn path=/head/; revision=198305
* Add regression tests for NFSv4 ACL granular permission enforcement.Edward Tomasz Napierala2009-09-079-2/+738
| | | | Notes: svn path=/head/; revision=196948
* lchflags(2) takes int, not u_long like chflags(2) and fchflags(2).Pawel Jakub Dawidek2009-06-031-1/+1
| | | | | | | | | Strange, isn't it? Pointed out by: bde Notes: svn path=/head/; revision=193373
* Add explicit casting in few places.Pawel Jakub Dawidek2009-02-231-12/+12
| | | | | | | | | | | | It is only really necessary for open(2)'s third argument, which is optional and obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64 bits. On little endian it works, because we take lower 32 bits, but on big endian platforms we take upper 32 bits, so we end up with 0. Reported by: Milan Čermák <Milan.Cermak@Sun.COM> Notes: svn path=/head/; revision=188934
* Be more Solaris-friendly.Pawel Jakub Dawidek2009-01-162-4/+8
| | | | | | | Submitted by: Milan Cermak <Milan.Cermak@Sun.COM> Notes: svn path=/head/; revision=187334
* This actually works on Linux, I just had wrong directory permission.Pawel Jakub Dawidek2008-11-241-4/+0
| | | | | | | Found by: trasz Notes: svn path=/head/; revision=185252
* Include TODO messages even if tests succeeds, so we can detect when somethingPawel Jakub Dawidek2008-11-241-6/+18
| | | | | | | suddenly started to work. Notes: svn path=/head/; revision=185251
* Mark all the places where Linux is not POSIX-compilant. Tested on ext3.Pawel Jakub Dawidek2008-11-233-0/+8
| | | | Notes: svn path=/head/; revision=185229
* fstest for Linux:Pawel Jakub Dawidek2008-11-239-56/+53
| | | | | | | | | | - Use -- when needed so Linux getopt(3) won't get confused. - Follow POSIX more closely. Submitted by: Szabolcs Szakacsits <szaka@ntfs-3g.org> Notes: svn path=/head/; revision=185227
* fstest for Linux:Pawel Jakub Dawidek2008-11-231-2/+26
| | | | | | | Automatically detect file system type. Notes: svn path=/head/; revision=185223
* FreeBSD's way of handling rmdir("..") is not POSIX-compilant.Pawel Jakub Dawidek2008-11-231-9/+3
| | | | Notes: svn path=/head/; revision=185221
* Shorter version.Pawel Jakub Dawidek2008-11-231-14/+4
| | | | Notes: svn path=/head/; revision=185220
* Add support for pathconf(2).Pawel Jakub Dawidek2008-11-231-1/+57
| | | | Notes: svn path=/head/; revision=185219
* Detect operating system automatically.Pawel Jakub Dawidek2008-11-231-5/+21
| | | | Notes: svn path=/head/; revision=185218