From nobody Tue Mar 22 20:23:33 2022 X-Original-To: dev-commits-src-main@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 5920E1A2BCCA; Tue, 22 Mar 2022 20:23:33 +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 4KNNGs22Hcz4gr6; Tue, 22 Mar 2022 20:23:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647980613; 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=hCGyauzrHRku5GwRZLEe3Bbwm9LkA8+nySJH78hHBpE=; b=Ey6lACEhiFuZk2vr4VYYQhbOTUiei+EiSKMxSDac8AgrafH4Cts+w7fOOGVxtdY98KAkTN 7XC+NYIrxFgY14y0VsLz4FotFhoGMp/4/fMxXagJ5PgiVwg6EmJD8DmHzAHgNNeP6Ufjz3 AbVVNAp/XGAzaGnwoX5JLf56YC7fmk/fk8Ou2lAxrTpqBbLrKOST0wRM7x3kIGjg2noRiO FzA/oTjqaBK+SZ0TuogWhtkaqeSJlLmKUBhEp5Cb19UH8EvxrxMT9jWndZWu8GAf2IP2eF XucdVvuQyMMka6dzkuFRWKo3WW+e/d7ur8wPTXwX9SovS6L7ycrMyaoO8hOlyA== 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 2563E15D71; Tue, 22 Mar 2022 20:23:33 +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 22MKNXmq021836; Tue, 22 Mar 2022 20:23:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22MKNXZZ021835; Tue, 22 Mar 2022 20:23:33 GMT (envelope-from git) Date: Tue, 22 Mar 2022 20:23:33 GMT Message-Id: <202203222023.22MKNXZZ021835@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 44b36b80f578 - main - test-includes: improve portability List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 44b36b80f57830bc9ccd78e27b12213c6a16626d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647980613; 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=hCGyauzrHRku5GwRZLEe3Bbwm9LkA8+nySJH78hHBpE=; b=IXlpMfRjImtcBDLdlre7/YGryyZE7/RlGtTt6nyGP8LjEzrN6gHYGVx1qMzpmY5Nh5Be0O ZYlMfHQ5H1MzSmW7gRfFh0vI2ecnH3Gji3RVsb9KeYOqVe8lEGBlb4SvSpxzE2hxajm066 61oNjgfSX+X0zqDAo9Wmb9692rXFk8+dpyDURaNk1MEtXe16IO4+o/Qyvd6WL+om6/+7kw YyhxyyjtaNYemPxifzHO0p2rurYWE2GJQHSA+fCFA9oj3bG4E04o/FTJ49KacAZIaHIZEm jf1otG/662epdNt4XpAMS8LdzSwhq8aGd4ei/4iALPGZfWEkkPPqVDL2FQuqVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647980613; a=rsa-sha256; cv=none; b=AyNueDprU2TP4YVQd250NoM/j6mjcS+YrFjBWl+4U+OW0UmS+sC2WxPuew7LixmXMo3tTj HfZ5obtmL1aJyo6Z5umjHM1cicSSf3bGVrjIa1IS/SsXh2d3NLEORoxzOkPvibg+7iw3S8 mFsOxCjWDn0iFSgFwzaKkIpEBJeYbDnJr6bvd37ZdiRYT2RsWaDj5e0EVblRqaQwH9SRrE MKMoqA7sUx4bgyhe2q59bVz5gdDQqAcZNzxRTPq/O1QaPRKZO+8mjlAhBSn7+yy1XOpu7g 5f1eZlEeeyXtZBVKPT/VmAV9t5OQN9Lixx5zBkQO8Hpl0wERfi+qBMc4Vn4qeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=44b36b80f57830bc9ccd78e27b12213c6a16626d commit 44b36b80f57830bc9ccd78e27b12213c6a16626d Author: Brooks Davis AuthorDate: 2022-03-22 20:23:22 +0000 Commit: Brooks Davis CommitDate: 2022-03-22 20:23:22 +0000 test-includes: improve portability FreeBSD's shell permits [^bar] to match characters not in [bar] like common regular expressions. This is non-portable and '!' should be used in place of '^' for portability. Reported by: Nathaniel Wesley Filardo Issue: https://github.com/CTSRD-CHERI/cheribsd/issues/1321 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D34597 --- tools/build/test-includes/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/test-includes/Makefile b/tools/build/test-includes/Makefile index 707ab6f4ca47..174c4341331c 100644 --- a/tools/build/test-includes/Makefile +++ b/tools/build/test-includes/Makefile @@ -16,7 +16,7 @@ LIB= test-includes INTERNALLIB= This is a compile-only test MAN= -HDRS!= (cd ${SRCTOP}/sys; ls sys/[^_]*.h | sort ; ls net*/[^_]*.h | sort) +HDRS!= (cd ${SRCTOP}/sys; ls sys/[!_]*.h | sort ; ls net*/[!_]*.h | sort) NO_PIC= yes # Some files have to be clean for extra defines too...