mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05: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: 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)
This commit is contained in:
parent
02324ae827
commit
8d95e941d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue