summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-03 16:29:59 +0200
committerJim Meyering <meyering@redhat.com>2012-06-08 08:30:47 +0200
commit02f1daa1e7dc80a544b7904d1d9d9841e02e3d8b (patch)
treeec717e383a837205decf19d5e7923982fefae264 /src
parent1e65a88a9ebbb4db7cd17fea8382e22c136e2688 (diff)
downloadgrep-02f1daa1e7dc80a544b7904d1d9d9841e02e3d8b.tar.gz
tests: extend coverage of dfa.c's match_mb_charset
Add a test case to increase test coverage of part of dfa.c (the DFA matcher used by grep and gawk). While thinking about removing the few remaining uses of strncpy in dfa.c, I found that none of the existing tests covered the 40+ lines of code at the end of match_mb_charset, so constructed this test case to demonstrate that it's not dead code * tests/dfa-coverage: New test, for improved coverage. * tests/Makefile.am (TESTS): Add it.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions