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:		fc12c191c0 ("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
This commit is contained in:
Mark Johnston 2024-09-07 19:39:49 +00:00
parent a6c8ab4f45
commit a700bef1e4

View File

@ -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