Commit graph

2 commits

Author SHA1 Message Date
Tom Cherry
aa4fd1891d Add tests for FNM_LEADING_DIR
Test: these tests
Change-Id: Id884fd08bbee06764330cf54f203603fa2643316
2020-12-10 08:07:28 -08:00
Elliott Hughes
6675ad3227 Add trivial tests for fnmatch(3).
These cover the parts of fnmatch() that I think I understand. Missing
FNM_LEADING_DIR because I still haven't understood that yet. All the
descriptions of its behavior that I've seen are slightly (or very)
inconsistent, and it seems like the implementations are genuinely
different too.

Test: treehugger
Change-Id: I1284c406639bef1bfe74db3cad45965c8ab29c2b
2020-12-02 14:36:13 -08:00