mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
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:
parent
a6c8ab4f45
commit
a700bef1e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user