From nobody Mon Sep 04 23:37:42 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 4RflRt0mKTz4rSBw; Mon, 4 Sep 2023 23:37:46 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RflRt0FfFz4Gcj; Mon, 4 Sep 2023 23:37:46 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693870666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bZPvw6TCpKAQQb/kyEYcX9huPw/w8dUrVRgbgvT9y9U=; b=lFSUKyY2D3HPULj5LwaKDGxk7WKxCni3p8NTgJs0+V39ujMXmnbEGvfMcx971WDu6iG1Q+ hV+smGuZI7fD5rhPP2K+5HlMwNtbdHRNPw88XXdyNrU6/viZeo0X6CD8gkEZlJaIbz9qWy dpKYLQY2ht07GB5E/8dPJcjxeX81s+LKEI4uIwvaAbSSI+pzZa0ll3sQwSPWS12O2+bHyi 7TWnssU5b1O2fk5Sel01fKzI+TAHROHPb4lwrOGSYSE8sdOPL8DvhnReqL2ssGFyxxU4pL hJpyH9JU5DPnQs+2qS5Bnb54p7Gq4D/zWyOLCf739JPdB8XjE2H9zkME7qY2qg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693870666; a=rsa-sha256; cv=none; b=vZa40Y2/YT48OUAlRnlwqk7VpBVAWVCVPTDYnQKXYdncmC7jWIW8X5icvWH4J8kIJk1N/3 fVN8q/MLj1Oo8U5dok0TG8wzv8LpEF7KcaU7yMTKqZvODeLwSCdYc9JcVvZ1v11/IEgncO PAtyTZsVD9g/yD+Am7DBRww9yUjyKovYQiwUkTtsMmk5Ca9VVlAM7iDHH9YqPjOb8CgmTY n3sKgp4vPjwYTKepCOWL04UQ50eIbqAM1pFuOB1Z33cZnU8s3z9OxCvEk3DLOEQ3kmfm3b PHL+v7IZsCLM6X3fFRk6LtRS7tddIHoFBQMKZsQBsjJdn5l28J4qZElPzKTvPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693870666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bZPvw6TCpKAQQb/kyEYcX9huPw/w8dUrVRgbgvT9y9U=; b=S6B/iAPEqlDV9DyM6wbSa1N7d2I359nslr698Fe4eFMgX10vqp98GFIbzNJo3cM0zBopa8 NZdaSACpD6BqdqIyVF1r9OIgZD5H+kQXrX5RqRN3jGazmBx8RxhvMdfMdjZsxd8vWtZsOt hlqzHhKzBQzX2s4ZEp1ApMpVeV9jZUU6iH5bYVvOCAieaViuKRTYSPANoG1E3qRTWlFkrc utG+TiuNiL1jM8ej2a31DR08tbj6eLhDlWN9uKbMMsXC99Vz0qtzVe4774tlXha5qBpX+I Wpe4H3BQz5oC28P3gU+Wv4c05GvYVicwJHVIQOifahnnaRWIDs7LWzD8rDpeKQ== Received: from ltc.des.no (ti0187a400-1976.bb.online.no [85.166.95.197]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RflRs5Sw9z11YK; Mon, 4 Sep 2023 23:37:45 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.no (Postfix, from userid 1001) id A8A254B9EA; Tue, 5 Sep 2023 01:37:42 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Warner Losh Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: ea82362219ee - main - tests: Skip all tests that require mdconfig when /dev/mdctl missing In-Reply-To: <202309021940.382Je6Hn028769@gitrepo.freebsd.org> (Warner Losh's message of "Sat, 2 Sep 2023 19:40:06 GMT") References: <202309021940.382Je6Hn028769@gitrepo.freebsd.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 05 Sep 2023 01:37:42 +0200 Message-ID: <861qfdtsqh.fsf@ltc.des.no> 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: quoted-printable Warner Losh writes: > diff --git a/tests/sys/cddl/zfs/tests/cache/cache_test.sh b/tests/sys/cdd= l/zfs/tests/cache/cache_test.sh > index 4d77d9fa56a7..79b09dd93183 100755 > --- a/tests/sys/cddl/zfs/tests/cache/cache_test.sh > +++ b/tests/sys/cddl/zfs/tests/cache/cache_test.sh > @@ -280,6 +280,7 @@ cache_010_neg_body() > . $(atf_get_srcdir)/cache.kshlib > . $(atf_get_srcdir)/cache.cfg >=20=20 > + [ -c /dev/mdctl ] || atf_skip "no /dev/mdctl to create md devices" > verify_disk_count "$DISKS" 1 > ksh93 $(atf_get_srcdir)/setup.ksh || atf_fail "Setup failed" > ksh93 $(atf_get_srcdir)/cache_010_neg.ksh || atf_fail "Testcase failed" the canonical way to do this would be to add atf_set "require.files" "/dev/mdctl" to the testcase head. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org