annotate tests/test-hybridencode.py.out @ 29929:b3845cab4ddc

revset: wrap arguments of 'or' by 'list' node This makes the number of 'or' arguments deterministic so we can attach additional ordering flag to all operator nodes. See the next patch. We rewrite the tree immediately after chained 'or' operations are flattened by simplifyinfixops(), so we don't need to care if arguments are stored in x[1] or x[1:].
author Yuya Nishihara <yuya@tcha.org>
date Sun, 07 Aug 2016 17:04:05 +0900
parents 297ea0df75d0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
1 A = 'data/abcdefghijklmnopqrstuvwxyz0123456789 !#%&\'()+,-.;=[]^`{}'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
2 B = 'data/abcdefghijklmnopqrstuvwxyz0123456789 !#%&\'()+,-.;=[]^`{}'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
3
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
4 uppercase char X is encoded as _x
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
5 A = 'data/ABCDEFGHIJKLMNOPQRSTUVWXYZ'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
6 B = 'data/_a_b_c_d_e_f_g_h_i_j_k_l_m_n_o_p_q_r_s_t_u_v_w_x_y_z'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
7
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
8 underbar is doubled
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
9 A = 'data/_'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
10 B = 'data/__'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
11
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
12 tilde is character-encoded
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
13 A = 'data/~'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
14 B = 'data/~7e'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
15
17444
d527ac9f011d test-hybridencode: remove x00 character case
Adrian Buehlmann <adrian@cadifra.com>
parents: 17440
diff changeset
16 characters in ASCII code range 1..31
d527ac9f011d test-hybridencode: remove x00 character case
Adrian Buehlmann <adrian@cadifra.com>
parents: 17440
diff changeset
17 A = 'data/\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f'
d527ac9f011d test-hybridencode: remove x00 character case
Adrian Buehlmann <adrian@cadifra.com>
parents: 17440
diff changeset
18 B = 'data/~01~02~03~04~05~06~07~08~09~0a~0b~0c~0d~0e~0f~10~11~12~13~14~15~16~17~18~19~1a~1b~1c~1d~1e~1f'
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
19
17445
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
20 characters in ASCII code range 126..255
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
21 A = 'data/~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f'
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
22 B = 'data/~7e~7f~80~81~82~83~84~85~86~87~88~89~8a~8b~8c~8d~8e~8f~90~91~92~93~94~95~96~97~98~99~9a~9b~9c~9d~9e~9f'
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
23
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
24 A = 'data/\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf'
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
25 B = 'data/~a0~a1~a2~a3~a4~a5~a6~a7~a8~a9~aa~ab~ac~ad~ae~af~b0~b1~b2~b3~b4~b5~b6~b7~b8~b9~ba~bb~bc~bd~be~bf'
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
26
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
27 A = 'data/\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf'
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
28 B = 'data/~c0~c1~c2~c3~c4~c5~c6~c7~c8~c9~ca~cb~cc~cd~ce~cf~d0~d1~d2~d3~d4~d5~d6~d7~d8~d9~da~db~dc~dd~de~df'
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
29
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
30 A = 'data/\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff'
e5422a9ffe9d test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com>
parents: 17444
diff changeset
31 B = 'data/~e0~e1~e2~e3~e4~e5~e6~e7~e8~e9~ea~eb~ec~ed~ee~ef~f0~f1~f2~f3~f4~f5~f6~f7~f8~f9~fa~fb~fc~fd~fe~ff'
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
32
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
33 Windows reserved characters
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
34 A = 'data/less <, greater >, colon :, double-quote ", backslash \\, pipe |, question-mark ?, asterisk *'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
35 B = 'data/less ~3c, greater ~3e, colon ~3a, double-quote ~22, backslash ~5c, pipe ~7c, question-mark ~3f, asterisk ~2a'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
36
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
37 encoding directories ending in .hg, .i or .d with '.hg' suffix
17593
9e31a72bede7 test-hybridencode: add a case for direncode
Adrian Buehlmann <adrian@cadifra.com>
parents: 17540
diff changeset
38 A = 'data/x.h.i/x.hg/x.i/x.d/foo'
9e31a72bede7 test-hybridencode: add a case for direncode
Adrian Buehlmann <adrian@cadifra.com>
parents: 17540
diff changeset
39 B = 'data/x.h.i.hg/x.hg.hg/x.i.hg/x.d.hg/foo'
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
40
17540
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
41 A = 'data/a.hg/a.i/a.d/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
42 B = 'data/a.hg.hg/a.i.hg/a.d.hg/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
43
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
44 A = 'data/au.hg/au.i/au.d/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
45 B = 'data/au.hg.hg/au.i.hg/au.d.hg/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
46
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
47 A = 'data/aux.hg/aux.i/aux.d/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
48 B = 'data/au~78.hg.hg/au~78.i.hg/au~78.d.hg/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
49
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
50 A = 'data/auxy.hg/auxy.i/auxy.d/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
51 B = 'data/auxy.hg.hg/auxy.i.hg/auxy.d.hg/foo'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
52
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
53 but these are not encoded on *filenames*
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
54 A = 'data/foo/x.hg'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
55 B = 'data/foo/x.hg'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
56
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
57 A = 'data/foo/x.i'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
58 B = 'data/foo/x.i'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
59
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
60 A = 'data/foo/x.d'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
61 B = 'data/foo/x.d'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
62
17540
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
63 A = 'data/foo/a.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
64 B = 'data/foo/a.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
65
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
66 A = 'data/foo/a.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
67 B = 'data/foo/a.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
68
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
69 A = 'data/foo/a.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
70 B = 'data/foo/a.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
71
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
72 A = 'data/foo/au.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
73 B = 'data/foo/au.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
74
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
75 A = 'data/foo/au.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
76 B = 'data/foo/au.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
77
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
78 A = 'data/foo/au.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
79 B = 'data/foo/au.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
80
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
81 A = 'data/foo/aux.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
82 B = 'data/foo/au~78.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
83
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
84 A = 'data/foo/aux.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
85 B = 'data/foo/au~78.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
86
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
87 A = 'data/foo/aux.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
88 B = 'data/foo/au~78.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
89
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
90 A = 'data/foo/auxy.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
91 B = 'data/foo/auxy.hg'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
92
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
93 A = 'data/foo/auxy.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
94 B = 'data/foo/auxy.i'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
95
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
96 A = 'data/foo/auxy.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
97 B = 'data/foo/auxy.d'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
98
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
99 plain .hg, .i and .d directories have the leading dot encoded
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
100 A = 'data/.hg/.i/.d/foo'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
101 B = 'data/~2ehg.hg/~2ei.hg/~2ed.hg/foo'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
102
7275
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
103 A = 'data/aux.bla/bla.aux/prn/PRN/lpt/com3/nul/coma/foo.NUL/normal.c.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
104 B = 'data/au~78.bla/bla.aux/pr~6e/_p_r_n/lpt/co~6d3/nu~6c/coma/foo._n_u_l/normal.c.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
105
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
106 A = 'data/AUX/SECOND/X.PRN/FOURTH/FI:FTH/SIXTH/SEVENTH/EIGHTH/NINETH/TENTH/ELEVENTH/LOREMIPSUM.TXT.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
107 B = 'dh/au~78/second/x.prn/fourth/fi~3afth/sixth/seventh/eighth/nineth/tenth/loremia20419e358ddff1bf8751e38288aff1d7c32ec05.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
108
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
109 A = 'data/enterprise/openesbaddons/contrib-imola/corba-bc/netbeansplugin/wsdlExtension/src/main/java/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
110 B = 'dh/enterpri/openesba/contrib-/corba-bc/netbeans/wsdlexte/src/main/java/org.net7018f27961fdf338a598a40c4683429e7ffb9743.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
111
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
112 A = 'data/AUX.THE-QUICK-BROWN-FOX-JU:MPS-OVER-THE-LAZY-DOG-THE-QUICK-BROWN-FOX-JUMPS-OVER-THE-LAZY-DOG.TXT.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
113 B = 'dh/au~78.the-quick-brown-fox-ju~3amps-over-the-lazy-dog-the-quick-brown-fox-jud4dcadd033000ab2b26eb66bae1906bcb15d4a70.i'
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
114
7514
e54cf540c6ca store: don't create dirs ending in period or space for hashed paths (issue1417)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7275
diff changeset
115 A = 'data/Project Planning/Resources/AnotherLongDirectoryName/Followedbyanother/AndAnother/AndThenAnExtremelyLongFileName.txt'
e54cf540c6ca store: don't create dirs ending in period or space for hashed paths (issue1417)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7275
diff changeset
116 B = 'dh/project_/resource/anotherl/followed/andanoth/andthenanextremelylongfilenaf93030515d9849cfdca52937c2204d19f83913e5.txt'
e54cf540c6ca store: don't create dirs ending in period or space for hashed paths (issue1417)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7275
diff changeset
117
e54cf540c6ca store: don't create dirs ending in period or space for hashed paths (issue1417)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7275
diff changeset
118 A = 'data/Project.Planning/Resources/AnotherLongDirectoryName/Followedbyanother/AndAnother/AndThenAnExtremelyLongFileName.txt'
e54cf540c6ca store: don't create dirs ending in period or space for hashed paths (issue1417)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7275
diff changeset
119 B = 'dh/project_/resource/anotherl/followed/andanoth/andthenanextremelylongfilena0fd7c506f5c9d58204444fc67e9499006bd2d445.txt'
e54cf540c6ca store: don't create dirs ending in period or space for hashed paths (issue1417)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7275
diff changeset
120
12687
34d8247a4595 store: encode first period or space in filenames (issue1713)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7515
diff changeset
121 A = 'data/foo.../foo / /a./_. /__/.x../ bla/.FOO/something.i'
34d8247a4595 store: encode first period or space in filenames (issue1713)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7515
diff changeset
122 B = 'data/foo..~2e/foo ~20/~20/a~2e/__.~20/____/~2ex.~2e/~20 bla/~2e_f_o_o/something.i'
7515
ee5aba886108 store: encode trailing period and space on directory names (issue1417)
Adrian Buehlmann <adrian@cadifra.com>
parents: 7514
diff changeset
123
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
124 A = 'data/c/co/com/com0/com1/com2/com3/com4/com5/com6/com7/com8/com9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
125 B = 'data/c/co/com/com0/co~6d1/co~6d2/co~6d3/co~6d4/co~6d5/co~6d6/co~6d7/co~6d8/co~6d9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
126
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
127 A = 'data/C/CO/COM/COM0/COM1/COM2/COM3/COM4/COM5/COM6/COM7/COM8/COM9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
128 B = 'data/_c/_c_o/_c_o_m/_c_o_m0/_c_o_m1/_c_o_m2/_c_o_m3/_c_o_m4/_c_o_m5/_c_o_m6/_c_o_m7/_c_o_m8/_c_o_m9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
129
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
130 A = 'data/c.x/co.x/com.x/com0.x/com1.x/com2.x/com3.x/com4.x/com5.x/com6.x/com7.x/com8.x/com9.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
131 B = 'data/c.x/co.x/com.x/com0.x/co~6d1.x/co~6d2.x/co~6d3.x/co~6d4.x/co~6d5.x/co~6d6.x/co~6d7.x/co~6d8.x/co~6d9.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
132
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
133 A = 'data/x.c/x.co/x.com0/x.com1/x.com2/x.com3/x.com4/x.com5/x.com6/x.com7/x.com8/x.com9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
134 B = 'data/x.c/x.co/x.com0/x.com1/x.com2/x.com3/x.com4/x.com5/x.com6/x.com7/x.com8/x.com9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
135
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
136 A = 'data/cx/cox/comx/com0x/com1x/com2x/com3x/com4x/com5x/com6x/com7x/com8x/com9x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
137 B = 'data/cx/cox/comx/com0x/com1x/com2x/com3x/com4x/com5x/com6x/com7x/com8x/com9x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
138
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
139 A = 'data/xc/xco/xcom0/xcom1/xcom2/xcom3/xcom4/xcom5/xcom6/xcom7/xcom8/xcom9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
140 B = 'data/xc/xco/xcom0/xcom1/xcom2/xcom3/xcom4/xcom5/xcom6/xcom7/xcom8/xcom9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
141
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
142 A = 'data/l/lp/lpt/lpt0/lpt1/lpt2/lpt3/lpt4/lpt5/lpt6/lpt7/lpt8/lpt9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
143 B = 'data/l/lp/lpt/lpt0/lp~741/lp~742/lp~743/lp~744/lp~745/lp~746/lp~747/lp~748/lp~749'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
144
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
145 A = 'data/L/LP/LPT/LPT0/LPT1/LPT2/LPT3/LPT4/LPT5/LPT6/LPT7/LPT8/LPT9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
146 B = 'data/_l/_l_p/_l_p_t/_l_p_t0/_l_p_t1/_l_p_t2/_l_p_t3/_l_p_t4/_l_p_t5/_l_p_t6/_l_p_t7/_l_p_t8/_l_p_t9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
147
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
148 A = 'data/l.x/lp.x/lpt.x/lpt0.x/lpt1.x/lpt2.x/lpt3.x/lpt4.x/lpt5.x/lpt6.x/lpt7.x/lpt8.x/lpt9.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
149 B = 'data/l.x/lp.x/lpt.x/lpt0.x/lp~741.x/lp~742.x/lp~743.x/lp~744.x/lp~745.x/lp~746.x/lp~747.x/lp~748.x/lp~749.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
150
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
151 A = 'data/x.l/x.lp/x.lpt/x.lpt0/x.lpt1/x.lpt2/x.lpt3/x.lpt4/x.lpt5/x.lpt6/x.lpt7/x.lpt8/x.lpt9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
152 B = 'data/x.l/x.lp/x.lpt/x.lpt0/x.lpt1/x.lpt2/x.lpt3/x.lpt4/x.lpt5/x.lpt6/x.lpt7/x.lpt8/x.lpt9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
153
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
154 A = 'data/lx/lpx/lptx/lpt0x/lpt1x/lpt2x/lpt3x/lpt4x/lpt5x/lpt6x/lpt7x/lpt8x/lpt9x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
155 B = 'data/lx/lpx/lptx/lpt0x/lpt1x/lpt2x/lpt3x/lpt4x/lpt5x/lpt6x/lpt7x/lpt8x/lpt9x'
17404
81b115385bc7 test-hybridencode: add cases for com0..9 and lpt0..9
Adrian Buehlmann <adrian@cadifra.com>
parents: 12687
diff changeset
156
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
157 A = 'data/xl/xlp/xlpt/xlpt0/xlpt1/xlpt2/xlpt3/xlpt4/xlpt5/xlpt6/xlpt7/xlpt8/xlpt9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
158 B = 'data/xl/xlp/xlpt/xlpt0/xlpt1/xlpt2/xlpt3/xlpt4/xlpt5/xlpt6/xlpt7/xlpt8/xlpt9'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
159
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
160 A = 'data/con/p/pr/prn/a/au/aux/n/nu/nul'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
161 B = 'data/co~6e/p/pr/pr~6e/a/au/au~78/n/nu/nu~6c'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
162
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
163 A = 'data/CON/P/PR/PRN/A/AU/AUX/N/NU/NUL'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
164 B = 'data/_c_o_n/_p/_p_r/_p_r_n/_a/_a_u/_a_u_x/_n/_n_u/_n_u_l'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
165
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
166 A = 'data/con.x/p.x/pr.x/prn.x/a.x/au.x/aux.x/n.x/nu.x/nul.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
167 B = 'data/co~6e.x/p.x/pr.x/pr~6e.x/a.x/au.x/au~78.x/n.x/nu.x/nu~6c.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
168
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
169 A = 'data/x.con/x.p/x.pr/x.prn/x.a/x.au/x.aux/x.n/x.nu/x.nul'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
170 B = 'data/x.con/x.p/x.pr/x.prn/x.a/x.au/x.aux/x.n/x.nu/x.nul'
17404
81b115385bc7 test-hybridencode: add cases for com0..9 and lpt0..9
Adrian Buehlmann <adrian@cadifra.com>
parents: 12687
diff changeset
171
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
172 A = 'data/conx/px/prx/prnx/ax/aux/auxx/nx/nux/nulx'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
173 B = 'data/conx/px/prx/prnx/ax/au~78/auxx/nx/nux/nulx'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
174
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
175 A = 'data/xcon/xp/xpr/xprn/xa/xau/xaux/xn/xnu/xnul'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
176 B = 'data/xcon/xp/xpr/xprn/xa/xau/xaux/xn/xnu/xnul'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
177
17540
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
178 A = 'data/a./au./aux./auxy./aux.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
179 B = 'data/a~2e/au~2e/au~78~2e/auxy~2e/au~78~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
180
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
181 A = 'data/c./co./con./cony./con.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
182 B = 'data/c~2e/co~2e/co~6e~2e/cony~2e/co~6e~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
183
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
184 A = 'data/p./pr./prn./prny./prn.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
185 B = 'data/p~2e/pr~2e/pr~6e~2e/prny~2e/pr~6e~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
186
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
187 A = 'data/n./nu./nul./nuly./nul.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
188 B = 'data/n~2e/nu~2e/nu~6c~2e/nuly~2e/nu~6c~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
189
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
190 A = 'data/l./lp./lpt./lpt1./lpt1y./lpt1.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
191 B = 'data/l~2e/lp~2e/lpt~2e/lp~741~2e/lpt1y~2e/lp~741~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
192
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
193 A = 'data/lpt9./lpt9y./lpt9.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
194 B = 'data/lp~749~2e/lpt9y~2e/lp~749~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
195
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
196 A = 'data/com./com1./com1y./com1.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
197 B = 'data/com~2e/co~6d1~2e/com1y~2e/co~6d1~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
198
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
199 A = 'data/com9./com9y./com9.'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
200 B = 'data/co~6d9~2e/com9y~2e/co~6d9~2e'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
201
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
202 A = 'data/a /au /aux /auxy /aux '
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
203 B = 'data/a~20/au~20/aux~20/auxy~20/aux~20'
f2bcc5975f10 test-hybridencode: a few more cases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17459
diff changeset
204
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
205 largest unhashed path
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
206 A = 'data/123456789-123456789-123456789-123456789-123456789-unhashed--xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
207 B = 'data/123456789-123456789-123456789-123456789-123456789-unhashed--xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
208
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
209 shortest hashed path
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
210 A = 'data/123456789-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
211 B = 'dh/123456789-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxe9c55002b50bf5181e7a6fc1f60b126e2a6fcf71'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
212
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
213 changing one char in part that's hashed away produces a different hash
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
214 A = 'data/123456789-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxy-123456789-123456'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
215 B = 'dh/123456789-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxd24fa4455faf8a94350c18e5eace7c2bb17af706'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
216
17440
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
217 uppercase hitting length limit due to encoding
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
218 A = 'data/A23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
219 B = 'dh/a23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxcbbc657029b41b94ed510d05feb6716a5c03bc6b'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
220
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
221 A = 'data/Z23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
222 B = 'dh/z23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxx938f32a725c89512833fb96b6602dd9ebff51ddd'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
223
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
224 compare with lowercase not hitting limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
225 A = 'data/a23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
226 B = 'data/a23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
227
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
228 A = 'data/z23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
229 B = 'data/z23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
230
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
231 not hitting limit with any of these
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
232 A = 'data/abcdefghijklmnopqrstuvwxyz0123456789 !#%&\'()+,-.;=[]^`{}xxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
233 B = 'data/abcdefghijklmnopqrstuvwxyz0123456789 !#%&\'()+,-.;=[]^`{}xxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
234
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
235 underbar hitting length limit due to encoding
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
236 A = 'data/_23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
237 B = 'dh/_23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxx9921a01af50feeabc060ce00eee4cba6efc31d2b'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
238
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
239 tilde hitting length limit due to encoding
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
240 A = 'data/~23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
241 B = 'dh/~7e23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx9cec6f97d569c10995f785720044ea2e4227481b'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
242
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
243 Windows reserved characters hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
244 A = 'data/<23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
245 B = 'dh/~3c23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxee67d8f275876ca1ef2500fc542e63c885c4e62d'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
246
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
247 A = 'data/>23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
248 B = 'dh/~3e23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx387a85a5b1547cc9136310c974df716818458ddb'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
249
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
250 A = 'data/:23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
251 B = 'dh/~3a23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx2e4154fb571d13d22399c58cc4ef4858e4b75999'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
252
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
253 A = 'data/"23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
254 B = 'dh/~2223456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxfc7e3ec7b0687ee06ed8c32fef0eb0c1980259f5'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
255
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
256 A = 'data/\\23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
257 B = 'dh/~5c23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx944e1f2b7110687e116e0d151328ac648b06ab4a'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
258
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
259 A = 'data/|23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
260 B = 'dh/~7c23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx28b23dd3fd0242946334126ab62bcd772aac32f4'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
261
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
262 A = 'data/?23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
263 B = 'dh/~3f23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxa263022d3994d2143d98f94f431eef8b5e7e0f8a'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
264
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
265 A = 'data/*23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
266 B = 'dh/~2a23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx0e7e6020e3c00ba7bb7893d84ca2966fbf53e140'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
267
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
268 initial space hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
269 A = 'data/ 23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
270 B = 'dh/~2023456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx92acbc78ef8c0b796111629a02601f07d8aec4ea'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
271
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
272 initial dot hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
273 A = 'data/.23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
274 B = 'dh/~2e23456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxdbe19cc6505b3515ab9228cebf877ad07075168f'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
275
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
276 trailing space in filename hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
277 A = 'data/123456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-1234 '
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
278 B = 'dh/123456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxx0025dc73e04f97426db4893e3bf67d581dc6d066'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
279
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
280 trailing dot in filename hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
281 A = 'data/123456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-1234.'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
282 B = 'dh/123456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxx85a16cf03ee7feba8a5abc626f1ba9886d01e89d'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
283
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
284 initial space in directory hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
285 A = 'data/ x/456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
286 B = 'dh/~20x/456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx1b3a3b712b2ac00d6af14ae8b4c14fdbf904f516'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
287
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
288 initial dot in directory hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
289 A = 'data/.x/456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
290 B = 'dh/~2ex/456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx39dbc4c193a5643a8936fc69c3363cd7ac91ab14'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
291
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
292 trailing space in directory hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
293 A = 'data/x /456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
294 B = 'dh/x~20/456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx2253c341df0b5290790ad312cd8499850f2273e5'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
295
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
296 trailing dot in directory hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
297 A = 'data/x./456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
298 B = 'dh/x~2e/456789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxcc0324d696d34562b44b5138db08ee1594ccc583'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
299
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
300 with directories that need direncoding, hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
301 A = 'data/x.i/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
302 B = 'dh/x.i.hg/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxa4c4399bdf81c67dbbbb7060aa0124d8dea94f74'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
303
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
304 A = 'data/x.d/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
305 B = 'dh/x.d.hg/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxx1303fa90473b230615f5b3ea7b660e881ae5270a'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
306
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
307 A = 'data/x.hg/5789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
308 B = 'dh/x.hg.hg/5789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxx26d724a8af68e7a4e4455e6602ea9adbd0eb801f'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
309
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
310 Windows reserved filenames, hitting length limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
311 A = 'data/con/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
312 B = 'dh/co~6e/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxc0794d4f4c605a2617900eb2563d7113cf6ea7d3'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
313
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
314 A = 'data/prn/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
315 B = 'dh/pr~6e/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx64db876e1a9730e27236cb9b167aff942240e932'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
316
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
317 A = 'data/aux/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
318 B = 'dh/au~78/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx8a178558405ca6fb4bbd75446dfa186f06751a0d'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
319
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
320 A = 'data/nul/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
321 B = 'dh/nu~6c/56789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxc5e51b6fec1bd07bd243b053a0c3f7209855b886'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
322
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
323 A = 'data/com1/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
324 B = 'dh/co~6d1/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx32f5f44ece3bb62b9327369ca84cc19c86259fcd'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
325
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
326 A = 'data/com9/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
327 B = 'dh/co~6d9/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxx734360b28c66a3230f55849fe8926206d229f990'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
328
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
329 A = 'data/lpt1/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
330 B = 'dh/lp~741/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxe6f16ab4b6b0637676b2842b3345c9836df46ef7'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
331
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
332 A = 'data/lpt9/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
333 B = 'dh/lp~749/6789-123456789-123456789-123456789-123456789-xxxxxxxxx-xxxxxxxxx-xxxxxa475814c51acead3e44f2ff801f0c4903f986157'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
334
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
335 non-reserved names, just not hitting limit
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
336 A = 'data/123456789-123456789-123456789-123456789-123456789-/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
337 B = 'data/123456789-123456789-123456789-123456789-123456789-/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12345'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
338
17452
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
339 hashed path with largest untruncated 1st dir
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
340 A = 'data/12345678/-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
341 B = 'dh/12345678/-123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxx4e9e9e384d00929a93b6835fbf976eb32321ff3c'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
342
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
343 hashed path with smallest truncated 1st dir
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
344 A = 'data/123456789/123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
345 B = 'dh/12345678/123456789-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxx1f4e4ec5f2be76e109bfaa8e31c062fe426d5490'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
346
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
347 hashed path with largest untruncated two dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
348 A = 'data/12345678/12345678/9-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
349 B = 'dh/12345678/12345678/9-123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxx3332d8329d969cf835542a9f2cbcfb385b6cf39d'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
350
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
351 hashed path with smallest truncated two dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
352 A = 'data/123456789/123456789/123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
353 B = 'dh/12345678/12345678/123456789-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx9699559798247dffa18717138859be5f8874840e'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
354
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
355 hashed path with largest untruncated three dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
356 A = 'data/12345678/12345678/12345678/89-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
357 B = 'dh/12345678/12345678/12345678/89-123456789-123456789-hashed----xxxxxxxxx-xxxxxxxf0a2b053bb1369cce02f78c217d6a7aaea18c439'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
358
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
359 hashed path with smallest truncated three dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
360 A = 'data/123456789/123456789/123456789/123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
361 B = 'dh/12345678/12345678/12345678/123456789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-1c6f8284967384ec13985a046d3553179d9d03cd'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
362
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
363 hashed path with largest untruncated four dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
364 A = 'data/12345678/12345678/12345678/12345678/789-123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
365 B = 'dh/12345678/12345678/12345678/12345678/789-123456789-hashed----xxxxxxxxx-xxxxxxx0d30c99049d8f0ff97b94d4ef302027e8d54c6fd'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
366
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
367 hashed path with smallest truncated four dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
368 A = 'data/123456789/123456789/123456789/123456789/123456789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
369 B = 'dh/12345678/12345678/12345678/12345678/123456789-hashed----xxxxxxxxx-xxxxxxxxx-x46162779e1a771810b37a737f82ae7ed33771402'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
370
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
371 hashed path with largest untruncated five dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
372 A = 'data/12345678/12345678/12345678/12345678/12345678/6789-hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
373 B = 'dh/12345678/12345678/12345678/12345678/12345678/6789-hashed----xxxxxxxxx-xxxxxxxbfe752ddc8b003c2790c66a9f2eb1ea75c114390'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
374
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
375 hashed path with smallest truncated five dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
376 A = 'data/123456789/123456789/123456789/123456789/123456789/hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
377 B = 'dh/12345678/12345678/12345678/12345678/12345678/hashed----xxxxxxxxx-xxxxxxxxx-xxb94c27b3532fa880cdd572b1c514785cab7b6ff2'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
378
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
379 hashed path with largest untruncated six dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
380 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/ed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
381 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/ed----xxxxxxxxx-xxxxxxxcd8cc5483a0f3be409e0e5d4bf9e36e113c59235'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
382
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
383 hashed path with smallest truncated six dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
384 A = 'data/123456789/123456789/123456789/123456789/123456789/123456789/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
385 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxxxxxxx-xxx47dd6f616f833a142da00701b334cebbf640da06'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
386
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
387 hashed path with largest untruncated seven dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
388 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
389 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxx-xxxxxxx1c8ed635229fc22efe51035feeadeb4c8a0ecb82'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
390
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
391 hashed path with smallest truncated seven dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
392 A = 'data/123456789/123456789/123456789/123456789/123456789/123456789/123456789/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
393 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx298ff7d33f8ce6db57930837ffea2fb2f48bb926'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
394
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
395 hashed path with largest untruncated eight dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
396 (directory 8 is dropped because it hits _maxshortdirslen)
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
397 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
398 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxx-xxxxxxc8996ccd41b471f768057181a4d59d2febe7277d'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
399
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
400 hashed path with smallest truncated eight dirs
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
401 (directory 8 is dropped because it hits _maxshortdirslen)
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
402 A = 'data/123456789/123456789/123456789/123456789/123456789/123456789/123456789/123456789/xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
403 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx4fa04a839a6bda93e1c21c713f2edcbd16e8890d'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
404
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
405 hashed path with largest non-dropped directory 8
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
406 (just not hitting the _maxshortdirslen boundary)
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
407 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
408 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxx4d43d1ccaa20efbfe99ec779dc063611536ff2c5'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
409
17453
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
410 ...adding one truncated char to dir 1..7 won't drop dir 8
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
411 A = 'data/12345678x/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
412 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx0f9efce65189cc60fd90fe4ffd49d7b58bbe0f2e'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
413
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
414 A = 'data/12345678/12345678x/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
415 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx945ca395708cafdd54a94501859beabd3e243921'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
416
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
417 A = 'data/12345678/12345678/12345678x/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
418 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxac62bf6898c4fd0502146074547c11caa751a327'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
419
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
420 A = 'data/12345678/12345678/12345678/12345678x/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
421 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx2ae5a2baed7983fae8974d0ca06c6bf08b9aee92'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
422
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
423 A = 'data/12345678/12345678/12345678/12345678/12345678x/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
424 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxx214aba07b6687532a43d1e9eaf6e88cfca96b68c'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
425
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
426 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678x/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
427 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxe7a022ae82f0f55cf4e0498e55ba59ea4ebb55bf'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
428
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
429 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678x/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
430 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxb51ce61164996a80f36ce3cfe64b62d519aedae3'
97899a01d3e5 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com>
parents: 17452
diff changeset
431
17452
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
432 hashed path with shortest dropped directory 8
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
433 (just hitting the _maxshortdirslen boundary)
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
434 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/123456/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
435 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/xxxxxxxxx-xxxx11fa9873cc6c3215eae864528b5530a04efc6cfe'
4aec89d4faa2 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17445
diff changeset
436
17457
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
437 hashed path that drops dir 8 due to dot or space at end is
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
438 encoded, and thus causing to hit _maxshortdirslen
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
439 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/1234./-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
440 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/-xxxxxxxxx-xxx602df9b45bec564e2e1f0645d5140dddcc76ed58'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
441
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
442 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/1234 /-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
443 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/-xxxxxxxxx-xxxd99ff212bc84b4d1f70cd6b0071e3ef69d4e12ce'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
444
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
445 ... with dir 8 short enough for encoding
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
446 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12./xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
447 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12~2e/xx-xxxxx7baeb5ed7f14a586ee1cacecdbcbff70032d1b3c'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
448
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
449 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12 /xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-123456'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
450 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12~20/xx-xxxxxcf79ca9795f77d7f75745da36807e5d772bd5182'
467e487f393f test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com>
parents: 17453
diff changeset
451
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
452 Extensions are replicated on hashed paths. Note that
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
453 we only get to encode files that end in .i or .d inside the
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
454 store. Encoded filenames are thus bound in length.
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
455 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.345.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
456 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxc10ad03b5755ed524f5286aab1815dfe07729438.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
457
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
458 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.345.d'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
459 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxx9eec83381f2b39ef5ac8b4ecdf2c94f7983f57c8.d'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
460
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
461 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
462 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxb7796dc7d175cfb0bb8a7728f58f6ebec9042568.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
463
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
464 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.34567.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
465 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxb515857a6bfeef017c4894d8df42458ac65d55b8.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
466
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
467 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.345678.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
468 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxb05a0f247bc0a776211cd6a32ab714fd9cc09f2b.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
469
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
470 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
471 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxf192b48bff08d9e0e12035fb52bc58c70de72c94.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
472
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
473 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
474 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxx435551e0ed4c7b083b9ba83cee916670e02e80ad.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
475
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
476 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-1.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
477 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxa7f74eb98d8d58b716356dfd26e2f9aaa65d6a9a.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
478
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
479 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-12.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
480 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxed68d9bd43b931f0b100267fee488d65a0c66f62.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
481
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
482 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-123.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
483 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxx5cea44de2b642d2ba2b4a30693ffb1049644d698.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
484
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
485 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-1234.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
486 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxx68462f62a7f230b39c1b5400d73ec35920990b7e.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
487
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
488 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-12345.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
489 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxx4cb852a314c6da240a83eec94761cdd71c6ec22e.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
490
17690
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
491 A = 'data/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-12345-ABCDEFGHIJKLMNOPRSTUVWXYZ-abcdefghjiklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPRSTUVWXYZ-1234567890-xxxxxxxxx-xxxxxxxxx-xxxxxxxx-xxxxxxxxx-wwwwwwwww-wwwwwwwww-wwwwwwwww-wwwwwwwww-wwwwwwwww-wwwwwwwww-wwwwwwwww-wwwwwwwww-wwwwwwwww.i'
eb7f8359249a test-hybridencode: in practice, extensions aren't really unbound in length
Adrian Buehlmann <adrian@cadifra.com>
parents: 17593
diff changeset
492 B = 'dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/-xxxxx93352aa50377751d9e5ebdf52da1e6e69a6887a6.i'
17459
f4d15f3b96c0 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17457
diff changeset
493
25027
297ea0df75d0 pathencode: for long paths, strip first 5 chars, not first dir
Martin von Zweigbergk <martinvonz@google.com>
parents: 17690
diff changeset
494 paths outside data/ can be encoded
297ea0df75d0 pathencode: for long paths, strip first 5 chars, not first dir
Martin von Zweigbergk <martinvonz@google.com>
parents: 17690
diff changeset
495 A = 'metadata/dir/00manifest.i'
297ea0df75d0 pathencode: for long paths, strip first 5 chars, not first dir
Martin von Zweigbergk <martinvonz@google.com>
parents: 17690
diff changeset
496 B = 'metadata/dir/00manifest.i'
297ea0df75d0 pathencode: for long paths, strip first 5 chars, not first dir
Martin von Zweigbergk <martinvonz@google.com>
parents: 17690
diff changeset
497
297ea0df75d0 pathencode: for long paths, strip first 5 chars, not first dir
Martin von Zweigbergk <martinvonz@google.com>
parents: 17690
diff changeset
498 A = 'metadata/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345678/00manifest.i'
297ea0df75d0 pathencode: for long paths, strip first 5 chars, not first dir
Martin von Zweigbergk <martinvonz@google.com>
parents: 17690
diff changeset
499 B = 'dh/ata/12345678/12345678/12345678/12345678/12345678/12345678/12345678/00manife0a4da1f89aa2aa9eb0896eb451288419049781b4.i'
297ea0df75d0 pathencode: for long paths, strip first 5 chars, not first dir
Martin von Zweigbergk <martinvonz@google.com>
parents: 17690
diff changeset
500