Regress test for sparse files & mmap with different FSs
authorsf <sf@openbsd.org>
Mon, 29 May 2017 11:01:16 +0000 (11:01 +0000)
committersf <sf@openbsd.org>
Mon, 29 May 2017 11:01:16 +0000 (11:01 +0000)
commit8b1dbb2a194fd677ad3a9b1b64d7a57fd9e11cae
treecd0b2157cff2835bab5f3c0a2570eb395cd8220c
parent47adcab544dba68410b80859d725e1ba33ada3eb
Regress test for sparse files & mmap with different FSs

This test creates a file with a hole in the middle and then checks that
when reading or mmaping the whole file, the data is correct.

This catches the bug introduced by the
"Implement VFS read clustering for MSDOSFS" commit that hat to be
reverted.

For now, we run the test with FAT16, FAT32, FFS

With much advice from bluhm@
regress/sys/fileops/Makefile [new file with mode: 0644]
regress/sys/fileops/Makefile.inc [new file with mode: 0644]
regress/sys/fileops/ffs/Makefile [new file with mode: 0644]
regress/sys/fileops/fileops.c [new file with mode: 0644]
regress/sys/fileops/msdos16/Makefile [new file with mode: 0644]
regress/sys/fileops/msdos32/Makefile [new file with mode: 0644]