From nobody Sat Sep 07 19:40:18 2024 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 4X1Njb2mDWz5WQcX; Sat, 07 Sep 2024 19:40:19 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X1Njb0mC9z4qMX; Sat, 7 Sep 2024 19:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725738019; 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=Cma5EbQpnKK4H3I1RM3W5uzmr3ld/EU2ug4OwhonNkU=; b=hKHlbnO/m/VcCj6pPmtMNFNzZ+7XpKlwI//NL2XLqSD97/MPlY7NcORLRHpovMIYCB7I1I +8ASsXfNAbIH8B21TYCvUw0m319qzl3MBNXiis0EKmeIOnQ68CWPUjxXiql9g7u3TVC0kH 360IdXC4y0LeMTvz4U+f0rNJithizbwzkDvej7xZy77MvADoFzXkJo+Gg1ZianAxNudjlQ ab96cNEi07vJeu8CGE338T84ACkt9bFYYi6d7ONZWmVxSctdmo0L8WhU9k7eNegLbIPxpr qxKm0YTowN15gmeoZmJ2QjqsztRTod9KCR8zhHeo6CQApADOI6A8CYEWFa32IA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725738019; a=rsa-sha256; cv=none; b=MetAYvfs4ngku5ea1EJjfJGNqXxrr8VOb7O7MXBnLyi0q4CEvySRCGb1j6anlYs/qjxFTc 0gik0KVGniJERNoDeLHrUbBV45ouHLe73aiR67wrx+W5rN6MBl1qlHKK9JFcpLeDUMfPQ8 H5tR1bpoye2Brx8hDb81rfW19VXPo8/vVm4dL/2U6kkaXqjwwg/a1+2TLEEpKHe2P3Fau5 6tcD+t4vZxgjdU8GghhFr0kNHJOB7mA1iiZKgygM9pRhZnS2/0IJ6UMDFSpKOruh7077ln rbjkhqg29gCvK147kBAM/Sw/FQNd1IGzqWRp3g356v0ObMYZW4ybqT8k7iVpuw== 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=1725738019; 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=Cma5EbQpnKK4H3I1RM3W5uzmr3ld/EU2ug4OwhonNkU=; b=nBSfCvMI1v31G97Y8WIlCvu7yOoTbUFoQxJzpG/kJykjb7HMaUzUqDn+vjBexJE4egcYTZ 3J0K3OpiF2obGlN4o1EcABo6kD3lwW6PMnMjOlqv3GGcmXRyaaHkIhLkHI2zHTYXcF1Hef tXLlpN4eaVoFJMizcZhkc4g8yaOPuvY+UahbBmjhxHbkLWD8buUV7DobJrlutyU+CpliLy fugFYqXhpgVRYpe6K+jB7sjyI6/2tMSnVwgoWQXFCVMdA6B2JL7rwZOvtwehV6WEicppay riWV9wGm7OY79CLTn9asoIsox7jTHFJIi3omYRbHVGo8bv+L4F8U4vljjqPNhA== 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 4X1Njb09JQzpMl; Sat, 7 Sep 2024 19:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 487JeIrY080743; Sat, 7 Sep 2024 19:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 487JeIlX080740; Sat, 7 Sep 2024 19:40:18 GMT (envelope-from git) Date: Sat, 7 Sep 2024 19:40:18 GMT Message-Id: <202409071940.487JeIlX080740@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: a700bef1e4ee - main - netbsd-tests: Update a test case to chase grep symlink handling changes 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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: a700bef1e4ee3e6f4e1a86a374bf9b4044f69a70 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=a700bef1e4ee3e6f4e1a86a374bf9b4044f69a70 commit a700bef1e4ee3e6f4e1a86a374bf9b4044f69a70 Author: Mark Johnston AuthorDate: 2024-09-07 19:39:49 +0000 Commit: Mark Johnston CommitDate: 2024-09-07 19:39:49 +0000 netbsd-tests: Update a test case to chase grep symlink handling changes This test case verifies that grep detects symlink loops when traversing a directory hierarchy. Fixes: fc12c191c087 ("grep: Default to -p instead of -S.") Reviewed by: ngie, jhb Reported by: Jenkins MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D46544 --- contrib/netbsd-tests/usr.bin/grep/t_grep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/netbsd-tests/usr.bin/grep/t_grep.sh b/contrib/netbsd-tests/usr.bin/grep/t_grep.sh index d2539a8250de..b1412a7a0715 100755 --- a/contrib/netbsd-tests/usr.bin/grep/t_grep.sh +++ b/contrib/netbsd-tests/usr.bin/grep/t_grep.sh @@ -81,7 +81,7 @@ recurse_symlink_body() atf_check -o file:"$(atf_get_srcdir)/d_recurse_symlink.out" \ -e file:"$(atf_get_srcdir)/d_recurse_symlink.err" \ - grep -r string test + grep -rS string test } atf_test_case word_regexps