From nobody Thu Feb 29 14:19:22 2024 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 4TltdQ6YWyz5CGqC; Thu, 29 Feb 2024 14:19:22 +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 4TltdQ68H8z4hWR; Thu, 29 Feb 2024 14:19:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709216362; 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=T1k5/nsSZfj0erCVHLJpXSz7VfUFriWQJ1OjI/BFQY0=; b=qXXK8A+IbQ2+6IDmOLYxUKEf9lPc1myIQMsViB945SttRV9J2hi/df1h/1MJFu5f67WWi8 DqR/AQ3angtS5osK0UD+XnQEJXtPyR4FzxbkcqIigJDFP1cjcYDoj+PAhpNB6iJhmv2ktp RsImDszAEHojW2uSSEuOgq324Aj9waQ2bcvx8hxkGsE47daObKxJ9BXjTEhkPz+VH+5DU0 HDiCIaHKGFbzOby5Mb8xmViTERiw9E6+83E7gIQlTmUq9w///zJPjUTC4ad1L/Fn4IMXo+ ab9+gSOo//32WBacq/7sj0LqBhGzLGtr0zL/OE0uz4VkqZf/yeZ5HQJaUCoeRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709216362; a=rsa-sha256; cv=none; b=BNLgBMLUNgw2acUrKjQsa59NBHvlKBxoQmxfhtixffpaomQs3dS9zJ5gjihYT0YtHXEgXr 0lfKj5f82zEHgGksKRoR3gLrG/ZOvFvkYtey8cFKAPcxN9vZBAZ6HlvOF0jJf1EpVgwRTl ZSox3TVnlDQbE5oWWPruQWadPptjuWXe575cj7Cxcwb1p38rPv+9O3FRlHYTlDrfSwccFO +lvhZhPoKEydy6UAuy32fNLLXtB/NJTGhpuYi0HnQ1YraQmpL2i1Tfuxbgt6Hn3pBAVYiY asarEnFS5s3Xw0riOFZ6qtgKfIYmRerN7XcAc9loCGAc8pMf0EFEdapC3dTyoQ== 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=1709216362; 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=T1k5/nsSZfj0erCVHLJpXSz7VfUFriWQJ1OjI/BFQY0=; b=EpIhAFZRJEyUWqqSKKKoA7nfnUIv+DRkcN5BjOLyjcnPzZQUW5769FjaTHembCl1EuQnj1 /TXpj7q2Vv8zCO8bw12fga+n2VFsnpzjvzyHUBppfvy7umCFEHKHKT2DbsmRS4f/l22NFM xAiUxvqrY5cf2E/TzDBdniyNv3ZIoLH7EF9OXA7wMVaT4nUVowP5b2MgRQ9W06Mg4kNd0T 3jxWsAHf8caVpjTzd62W666TML/dcTP9lciXaAUzU8wUDt5TKGek40LStpUlXQoNAVZQ7a 2Z2RLEvCDzgSxkvKnmExN+q3FSp5UsRf8bX1oRavcs/9zYEid7U/KHAUabm1uQ== 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 4TltdQ5mdnzlj2; Thu, 29 Feb 2024 14:19:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41TEJMJ7005630; Thu, 29 Feb 2024 14:19:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41TEJMOO005627; Thu, 29 Feb 2024 14:19:22 GMT (envelope-from git) Date: Thu, 29 Feb 2024 14:19:22 GMT Message-Id: <202402291419.41TEJMOO005627@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: aa80cfadff0b - main - lorder: Tweak invalid file test. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aa80cfadff0bb715ca090cbd1b3561a1619251d5 Auto-Submitted: auto-generated The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=aa80cfadff0bb715ca090cbd1b3561a1619251d5 commit aa80cfadff0bb715ca090cbd1b3561a1619251d5 Author: Dag-Erling Smørgrav AuthorDate: 2024-02-29 13:59:25 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2024-02-29 13:59:25 +0000 lorder: Tweak invalid file test. Different implementations of `nm` have different ways of telling you that your file is not a valid object or library, but they all seem to have “not recognized” as a common substring. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44154 --- usr.bin/lorder/tests/lorder_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/lorder/tests/lorder_test.sh b/usr.bin/lorder/tests/lorder_test.sh index 449cda29f825..a4276b2dcfe6 100644 --- a/usr.bin/lorder/tests/lorder_test.sh +++ b/usr.bin/lorder/tests/lorder_test.sh @@ -52,7 +52,7 @@ invalid_head() { } invalid_body() { echo "not an object file" >invalid.o - atf_check -s not-exit:0 -e match:"File format not" -o empty \ + atf_check -s not-exit:0 -e match:"not recognized" -o empty \ lorder invalid.o }