diff options
author | Mark Johnston <markj@FreeBSD.org> | 2024-09-07 19:39:49 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2025-03-31 21:30:41 +0000 |
commit | 18c4022e9fdc6d7f4f5da713de0e9d34d170536e (patch) | |
tree | 10f19137cfb5f3a6cf164a5a31aa3614b90d9887 | |
parent | 910535a82a29d71eb3951b2368aef358a207f18d (diff) |
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
(cherry picked from commit a700bef1e4ee3e6f4e1a86a374bf9b4044f69a70)
-rwxr-xr-x | contrib/netbsd-tests/usr.bin/grep/t_grep.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |