xref: /relibc/tests/expected/bins_static/fnmatch.stdout (revision 058509bd88c841f3e33c677bc7eeea72116e20e0)
1Should succeed:
2"*World" matches "Hello World"
3"*World" matches "World"
4"Hello*" matches "Hello World"
5"H[ae]llo?World" matches "Hallo+World"
6"H[ae]llo?World" matches "Hello_World"
7"[0-9][!a]" matches "1b"
8"/a/*/d" matches "/a/b/c/d"
9"/a/*/d" matches "/a/bc/d"
10"*hello" matches ".hello"
11"/*hello" matches "/.hello"
12"[a!][a!]" matches "!a"
13"[\]]" matches "]"
14"[\\]" matches "\"
15"hello[/+]world" matches "hello/world"
16"hello world" matches "HELLO WORLD"
17
18Should fail:
19"*World" doesn't match "Hello Potato"
20"*World" doesn't match "Potato"
21"H[ae]llo?World" doesn't match "Hillo+World"
22"H[ae]llo?World" doesn't match "Hello__World"
23"[0-9][!a]" doesn't match "ab"
24"[0-9][!a]" doesn't match "2a"
25"/a/*/d" doesn't match "/a/b/c/d"
26"/a/*/d" doesn't match "/a/bc/d/"
27"*hello" doesn't match ".hello"
28"/*hello" doesn't match "/.hello"
29"[a!][a!]" doesn't match "ab"
30"hello[/+]world" doesn't match "hello/world"
31"hello world" doesn't match "HELLO WORLD"
32