foo/bar foobar/bar
ok 1
ok 2
ok 3
ok 4
ok 5
b
argv[1] =
argv[1] =
argv[1] =
argv[1] =
0000000 141 243 134 142
0000004
ok 6
ok 7
invalid bracket expression
== LANG=C ==
[[:alpha:]
ok 1
[a
[[:alpha:]
ok 2
ok 2.1
ok 3
ok 4
== LANG=en_US.UTF-8 ==
[[:alpha:]
ok 1
[a
[[:alpha:]
ok 2
ok 2.1
ok 3
ok 4
invalid character class
== LANG=C ==
p
p
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
== LANG=en_US.UTF-8 ==
p
p
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
invalid collating symbols
== LANG=C ==
ok 1
ok 2
ok 3
ok 4
ok 5
== LANG=en_US.UTF-8 ==
ok 1
ok 2
ok 3
ok 4
ok 5
argv[1] =
a\?
argv[1] =
a\?
a\a
./tmp/a/b/c ./tmp/a/b/c ./tmp/a/b/c
./tmp/a/b/c ./tmp/a/b/c ./tmp/a/b/c
./tmp/a/b/c
./tmp/a/b/c
./tmp\/a/b/c
./tm[p]\/a/b/c
./tmp/a/b/c
argv[1] = <./tmp/a/*>
argv[1] = <./tmp/a/*>
argv[1] = <./tmp/a/b/c>
argv[1] = <./tmp/a/*>
argv[1] = <./tmp/a/b/c>
argv[1] = <./t\mp/a/*>
argv[1] = <./tmp/a/b/c>
argv[1] = <./tmp/a/>
argv[1] = <./tmp/a/b/>
argv[1] = <./t\mp/a/>
argv[1] = <./t\mp/a/b/>
argv[1] = <./tmp/a/*>
argv[1] = <./tmp/a/b/c>
argv[1] = <./tmp/a>
argv[1] = <./tmp/a/b*>
argv[1] = <./tmp/a>
argv[1] = <./tmp/a/b*>
argv[1] = <./tmp/>
argv[1] = <\$foo>
argv[2] = <\$foo>
argv[1] =
<\.>
*abc.c
searchable/\.
searchable/\./.
readable/\.
readable/\./.
searchable/\.
readable/\.
searchable/.
searchable/.
searchable/.
1: [qwe/qwe]
2: [qwe/
3: [qwe/]
4:
5: [qwe/
6:
a\*b
a\*b*
é/*
é/*
a aa b bb
.a .aa .b .bb a aa b bb
.a .aa .b .bb
. .. .a .aa .b .bb
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
tmp/l1 tmp/l2 tmp/*4 tmp/l3
./glob.tests: line 66: no match: tmp/*4
argv[1] =
argv[1] = <*>
argv[1] =
argv[1] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] = <*q*>
argv[1] = <**>
argv[1] = <**>
argv[1] = <\.\./*/>
argv[1] =
argv[1] = ^root:/{s/^[^:]*:[^:]*:\([^:]*\).*$/\1/>
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] =
argv[6] =
argv[7] =
argv[8] =
argv[9] =
argv[1] =
argv[2] =
argv[1] =
argv[2] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[1] =
argv[1] =
no match
not there
argv[1] =
argv[1] =
argv[1] =
argv[1] =
match 1
match 2
ok 1
ok 2
ok 3
ok 4
ok 5
argv[1] =
argv[1] =
argv[1] =
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] =
argv[1] = <*>
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] =
argv[6] =
argv[7] =
argv[8] =
argv[9] =
argv[10] =
argv[11] =
argv[1] =
argv[2] =
argv[3] =
argv[4] =
argv[5] =
argv[6] =
argv[7] =
argv[1] = <*>
argv[1] =
argv[1] =