40 show('data/less <, greater >, colon :, double-quote ", backslash \\' |
40 show('data/less <, greater >, colon :, double-quote ", backslash \\' |
41 ', pipe |, question-mark ?, asterisk *') |
41 ', pipe |, question-mark ?, asterisk *') |
42 |
42 |
43 print "encoding directories ending in .hg, .i or .d with '.hg' suffix" |
43 print "encoding directories ending in .hg, .i or .d with '.hg' suffix" |
44 show('data/x.hg/x.i/x.d/foo') |
44 show('data/x.hg/x.i/x.d/foo') |
|
45 show('data/a.hg/a.i/a.d/foo') |
|
46 show('data/au.hg/au.i/au.d/foo') |
|
47 show('data/aux.hg/aux.i/aux.d/foo') |
|
48 show('data/auxy.hg/auxy.i/auxy.d/foo') |
45 |
49 |
46 print "but these are not encoded on *filenames*" |
50 print "but these are not encoded on *filenames*" |
47 show('data/foo/x.hg') |
51 show('data/foo/x.hg') |
48 show('data/foo/x.i') |
52 show('data/foo/x.i') |
49 show('data/foo/x.d') |
53 show('data/foo/x.d') |
|
54 show('data/foo/a.hg') |
|
55 show('data/foo/a.i') |
|
56 show('data/foo/a.d') |
|
57 show('data/foo/au.hg') |
|
58 show('data/foo/au.i') |
|
59 show('data/foo/au.d') |
|
60 show('data/foo/aux.hg') |
|
61 show('data/foo/aux.i') |
|
62 show('data/foo/aux.d') |
|
63 show('data/foo/auxy.hg') |
|
64 show('data/foo/auxy.i') |
|
65 show('data/foo/auxy.d') |
50 |
66 |
51 print "plain .hg, .i and .d directories have the leading dot encoded" |
67 print "plain .hg, .i and .d directories have the leading dot encoded" |
52 show('data/.hg/.i/.d/foo') |
68 show('data/.hg/.i/.d/foo') |
53 |
69 |
54 show('data/aux.bla/bla.aux/prn/PRN/lpt/com3/nul/coma/foo.NUL/normal.c.i') |
70 show('data/aux.bla/bla.aux/prn/PRN/lpt/com3/nul/coma/foo.NUL/normal.c.i') |
93 show('data/con.x/p.x/pr.x/prn.x/a.x/au.x/aux.x/n.x/nu.x/nul.x') |
109 show('data/con.x/p.x/pr.x/prn.x/a.x/au.x/aux.x/n.x/nu.x/nul.x') |
94 show('data/x.con/x.p/x.pr/x.prn/x.a/x.au/x.aux/x.n/x.nu/x.nul') |
110 show('data/x.con/x.p/x.pr/x.prn/x.a/x.au/x.aux/x.n/x.nu/x.nul') |
95 show('data/conx/px/prx/prnx/ax/aux/auxx/nx/nux/nulx') |
111 show('data/conx/px/prx/prnx/ax/aux/auxx/nx/nux/nulx') |
96 show('data/xcon/xp/xpr/xprn/xa/xau/xaux/xn/xnu/xnul') |
112 show('data/xcon/xp/xpr/xprn/xa/xau/xaux/xn/xnu/xnul') |
97 |
113 |
|
114 show('data/a./au./aux./auxy./aux.') |
|
115 show('data/c./co./con./cony./con.') |
|
116 show('data/p./pr./prn./prny./prn.') |
|
117 show('data/n./nu./nul./nuly./nul.') |
|
118 show('data/l./lp./lpt./lpt1./lpt1y./lpt1.') |
|
119 show('data/lpt9./lpt9y./lpt9.') |
|
120 show('data/com./com1./com1y./com1.') |
|
121 show('data/com9./com9y./com9.') |
|
122 |
|
123 show('data/a /au /aux /auxy /aux ') |
|
124 |
98 print "largest unhashed path" |
125 print "largest unhashed path" |
99 show('data/123456789-123456789-123456789-123456789-123456789-' |
126 show('data/123456789-123456789-123456789-123456789-123456789-' |
100 'unhashed--xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' |
127 'unhashed--xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-' |
101 '123456789-12345') |
128 '123456789-12345') |
102 |
129 |