From nobody Mon Mar 20 13:33:47 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 4PgG0X0H13z40kJC; Mon, 20 Mar 2023 13:33:48 +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 4PgG0W5LSRz3NvN; Mon, 20 Mar 2023 13:33:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679319227; 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=TPyYrHUyORSC1ryD9rD3jdkPnRm/rc2TyDN+qUPLOgo=; b=aQ884Hlt7ZpL5kcbzsuWJhs7EwQh7NW5R+24vZgAT2CwygVtLtyGO79hCHyZuHKb+lrGHB fXYolpZPQN2e2WxdMPIU8QMiT4rF3zYnVLUa1KS3SXazqXKUeASsKjS65t+ezOV7ZliV0S qKNrO4DdUBtXy1Uouig5pzbi8z0VS/fh1SFk0UwUeT1sHEMg1HP53sMsgfwwREzY7VyKTs TH+LisbA900z3NIPQ9eRQi/HNtRieoEg6Ls7I6TyttHXxPOaT9dY3n0BNCmQLlWxCLMdRu ZwJoYeR0tVrvKM6+khWqDDaf9g6QG/+79hX2Y0wi9TPWd0cJY9ybGF58wPlePg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679319227; 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=TPyYrHUyORSC1ryD9rD3jdkPnRm/rc2TyDN+qUPLOgo=; b=eInz3PkNX8lZT5y27CJVzPMZqnh8ttmbtRAX++CPYbunbC7NzeW+Jy8ZvswMojHhVYEkaz 6wD9Nb03ik90DGOKVATPVI87rsLj+TCoRr4AOOYU18BcQxErr6XbQkBbMUJecEZWiIbynl 62RSMORUUc0BF+I1kIa8UPaOJa7E/FghE4pMKOySq803VAyfJUTIay9y7m7/lBypo14Eoc HO0eab4FMd/t8JcazKAkEbsOK+XKZP+RVeMtae2CmAGxhNtM1Z2alz57Qwr+kDOXSgLzum Zpcgbl15Q9HX9OT1v5xs1WvtWJFEmImZukQaGvqvKY6IkcTdMjJo8HXhoX9MoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679319227; a=rsa-sha256; cv=none; b=KZ3/9g5rZI3CGl9PHecJn9/OG1TsnOPSv+5fHabx0C/F8izpyx3N84BMpri3XJ7a5S7siA ZKQcDqg94e7lQuRtkd/omsASQ7ZvQWMjFFwDHpoYXgALVZ2LPi8Y4EP/8LYQZ0E39Bo8xk SYcjFvrbvcD/NaHcDHQQtKAXVu3OkIszbu6ar4s5HX5ukpdSANIJFJm3AC8r71NAfJ4aXU vGRSLa4HnXfM4a2Otiwmuuf8GS3mKsq6kPDOgjGtSlhXn/uV+esP0gFsUEkwpJkXzAdrNz 4gfYEUgysVmqhhUQXeStvBPY6RariBuPaN0LII/4sgM31hD7FUWHEl4UKjvYyQ== 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 4PgG0W4QG8zX27; Mon, 20 Mar 2023 13:33:47 +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 32KDXl9k073678; Mon, 20 Mar 2023 13:33:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32KDXlcS073677; Mon, 20 Mar 2023 13:33:47 GMT (envelope-from git) Date: Mon, 20 Mar 2023 13:33:47 GMT Message-Id: <202303201333.32KDXlcS073677@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: fbe570ccc0d7 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: fbe570ccc0d739b8da2804468070edd1247b9bb2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=fbe570ccc0d739b8da2804468070edd1247b9bb2 commit fbe570ccc0d739b8da2804468070edd1247b9bb2 Author: Mark Johnston AuthorDate: 2023-03-12 18:50:14 +0000 Commit: Mark Johnston CommitDate: 2023-03-20 12:58:23 +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 (cherry picked from commit 683853a92477a18f19b29d6bd8dd71ebe5553f89) --- 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 2efda9310396..0bc575a4aaf4 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 @@ -122,10 +122,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}