From: sf Date: Mon, 29 May 2017 11:00:04 +0000 (+0000) Subject: Regress test for sparse files & mmap with different FSs X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=47adcab544dba68410b80859d725e1ba33ada3eb;p=openbsd 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@ --- diff --git a/regress/sys/Makefile b/regress/sys/Makefile index 47c9ed298a3..8f8e846d81e 100644 --- a/regress/sys/Makefile +++ b/regress/sys/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.23 2017/01/13 01:33:14 bluhm Exp $ +# $OpenBSD: Makefile,v 1.24 2017/05/29 11:00:04 sf Exp $ # $NetBSD: Makefile,v 1.4 1995/04/20 22:41:08 cgd Exp $ -SUBDIR= copy crypto dev ddb ffs fifofs kern net netinet netinet6 nfs ptrace \ - sys uvm +SUBDIR= copy crypto dev ddb ffs fifofs fileops kern + net netinet netinet6 nfs ptrace sys uvm .if exists(arch/${MACHINE}/Makefile) SUBDIR+= arch/${MACHINE} .endif