From nobody Mon Mar 13 14:51:06 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pb02y2BSkz3xnl8; Mon, 13 Mar 2023 14:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pb02y1lZPz40ph; Mon, 13 Mar 2023 14:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678719066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=51eygRdwn+wj+a44gkxqf4SiN3008S0jEw9vE2UeIzE=; b=SI7VjGhvLaWAXk5nl/vbfp+4+snFrI5CAcHu2+AE7MO4AxILfsWLYfp/h0Zbs1Fnd8Xvmx /loo2y3K3osX/fOeFEzD5IFL9UBLoKUSo7LkRcbuMlCULDOlUDX/f+7dFoO2YvucQ1h4gt WMq5RLv3bO9MBosvFy/Kyng2HxafDkGLuIzMROT4hql8UiDj3z/ADZWLJqf+l/hq6gLys4 eNPO1prYMMeZYhtqpJG29y37OzrEp8Fb7wQHyh5Bll6E5jO+RPcP1To8iLRo6L5u8jnPN5 H2HJiIZS9a4piSsZ/vjDKHGFcriDdW/fw09jBaBc8DfE9sxliZzxswbNRzEN+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678719066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=51eygRdwn+wj+a44gkxqf4SiN3008S0jEw9vE2UeIzE=; b=GrXAN8vr9hrcndivDwMcZ9DawCwjXM3uvIfnr/r5OYnfh0JjhTAczAmoW9ZlfqHHj6edTv 8+Xz8oADuzcWHt4nB1gMo/LFYb4V7bwRlE2ZFmsbyr+nG3vIoWr+QiNfaJNqdD7HKPSGli ZCrS10ZacvANzfGp8uMFJY9hxApNTz4KS4RtckxykM+nzq2tdnNDawnybNElCHFxX5/l3K Ouz8gOVLL/lsE08h+89T/7JhOWh3JeGbp0N4cmAEGnObXc2jihNADBGgd7D04C2dUuSozj jIYWqAKx6YzTepx458R8sbTIuAAvpW2v44Xjjj7aJgFboIH4lbrSBcv6dQrLaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678719066; a=rsa-sha256; cv=none; b=JzGEoUGrgai9xOkG66fXvzWV3NS6mK9qy3inVWYiez9Xw7Cmq74ZmpmZFiwoIHXAoPgcW6 Z2ffD1GCIv6qELZTISA+TdrS0/zxMvp/FfoWgpTbWry7+yIlobshvFwj7BmhrYvpzQiOpX BK1GYtnH9ocVWYnGLCip8kLVMfuMQTL6Qt8Vv8I63UCXrlhOkCEYMR6ZgdKWxsqkLJ1m5c AsPk4CFJLajh8mO0YgxYoT94+XVZhID2bCZ0KSbV4b38XP8Emgp2qh+OA9+fl+f9WZe6pZ RfN51stJiCv0A9lvfbHPzDq6aMCDLJBoS67H7nGBl9RWhuy6uQAzL8IUG/dw1g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pb02y0qhbzxcW; Mon, 13 Mar 2023 14:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32DEp67r037333; Mon, 13 Mar 2023 14:51:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32DEp6J0037332; Mon, 13 Mar 2023 14:51:06 GMT (envelope-from git) Date: Mon, 13 Mar 2023 14:51:06 GMT Message-Id: <202303131451.32DEp6J0037332@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 683853a92477 - main - sendfile tests: Mount filesystems under the test workdir List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 683853a92477a18f19b29d6bd8dd71ebe5553f89 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=683853a92477a18f19b29d6bd8dd71ebe5553f89 commit 683853a92477a18f19b29d6bd8dd71ebe5553f89 Author: Mark Johnston AuthorDate: 2023-03-12 18:50:14 +0000 Commit: Mark Johnston CommitDate: 2023-03-13 14:45:35 +0000 sendfile tests: Mount filesystems under the test workdir Otherwise they can't be run in parallel as they share a mount point. MFC after: 1 week --- tests/sys/kern/sendfile_test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/sys/kern/sendfile_test.sh b/tests/sys/kern/sendfile_test.sh index 11bd03705f53..3c700beeb7d5 100755 --- a/tests/sys/kern/sendfile_test.sh +++ b/tests/sys/kern/sendfile_test.sh @@ -37,7 +37,7 @@ # MD_DEVS="md.devs" -MNT=/mnt +MNT=mnt FILE=$MNT/file HELPER="$(atf_get_srcdir)/sendfile_helper" BSIZE=4096 @@ -134,10 +134,11 @@ common_body_setup() { us=$1 + atf_check mkdir $MNT atf_check -o ignore -e ignore newfs -b $BSIZE -U -j /dev/${us} atf_check mount /dev/${us} $MNT atf_check -e ignore dd if=/dev/zero of=$FILE bs=1m count=1 - atf_check umount /mnt + atf_check umount $MNT load_gnop atf_check gnop create /dev/${us}