Re: git: 356deeb2e7f6 - main - kyua/qemu: When running in qemu, don't teset sendfile
Date: Wed, 08 Feb 2023 23:33:55 UTC
On Wed, Feb 2, 2022 at 2:28 PM Warner Losh <imp@freebsd.org> wrote: > > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=356deeb2e7f64c5b3fff8e28f4b4fcc8b9cbf7bc > > commit 356deeb2e7f64c5b3fff8e28f4b4fcc8b9cbf7bc > Author: Warner Losh <imp@FreeBSD.org> > AuthorDate: 2022-02-02 21:27:51 +0000 > Commit: Warner Losh <imp@FreeBSD.org> > CommitDate: 2022-02-02 21:27:51 +0000 > > kyua/qemu: When running in qemu, don't teset sendfile > > qemu's bsd-user doesn't implement sendfile, so just skip those tests > that use it. > > Sponsored by: Netflix > --- > lib/libc/tests/sys/sendfile_test.c | 54 ++++++++++++++++++++++++++++++++++++++ > tests/sys/kern/sendfile_test.sh | 12 +++++++++ > 2 files changed, 66 insertions(+) Should you also check for qemu in tests/sys/fs/fusefs/read.cc ? There are also some test cases there that use sendfile.