tests/test-hybridencode.py
author Adrian Buehlmann <adrian@cadifra.com>
Wed, 05 Sep 2012 13:57:58 +0200
changeset 17444 d527ac9f011d
parent 17440 5be041254a2e
child 17445 e5422a9ffe9d
permissions -rw-r--r--
test-hybridencode: remove x00 character case precludes implementation in C
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7275
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     1
from mercurial import store
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     2
12687
34d8247a4595 store: encode first period or space in filenames (issue1713)
Adrian Buehlmann <adrian@cadifra.com>
parents: 8659
diff changeset
     3
auxencode = lambda f: store._auxencode(f, True)
34d8247a4595 store: encode first period or space in filenames (issue1713)
Adrian Buehlmann <adrian@cadifra.com>
parents: 8659
diff changeset
     4
hybridencode = lambda f: store._hybridencode(f, auxencode)
34d8247a4595 store: encode first period or space in filenames (issue1713)
Adrian Buehlmann <adrian@cadifra.com>
parents: 8659
diff changeset
     5
34d8247a4595 store: encode first period or space in filenames (issue1713)
Adrian Buehlmann <adrian@cadifra.com>
parents: 8659
diff changeset
     6
enc = hybridencode # used for 'dotencode' repo format
7275
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     7
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     8
def show(s):
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
     9
    print "A = '%s'" % s.encode("string_escape")
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    10
    print "B = '%s'" % enc(s).encode("string_escape")
7275
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    11
    print
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    12
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    13
show("data/abcdefghijklmnopqrstuvwxyz0123456789 !#%&'()+,-.;=[]^`{}")
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    14
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    15
print "uppercase char X is encoded as _x"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    16
show("data/ABCDEFGHIJKLMNOPQRSTUVWXYZ")
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    17
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    18
print "underbar is doubled"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    19
show("data/_")
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    20
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    21
print "tilde is character-encoded"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    22
show("data/~")
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    23
17444
d527ac9f011d test-hybridencode: remove x00 character case
Adrian Buehlmann <adrian@cadifra.com>
parents: 17440
diff changeset
    24
print "characters in ASCII code range 1..31"
d527ac9f011d test-hybridencode: remove x00 character case
Adrian Buehlmann <adrian@cadifra.com>
parents: 17440
diff changeset
    25
show('data/\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f'
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    26
          '\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    27
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    28
print "characters in ASCII code range 126..255 (only partially tested)"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    29
show('data/\x7e \x7f \x80 \x81 \x82 \x83 .. \xfd \xfe \xff')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    30
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    31
print "Windows reserved characters"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    32
show('data/less <, greater >, colon :, double-quote ", backslash \\'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    33
           ', pipe |, question-mark ?, asterisk *')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    34
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    35
print "encoding directories ending in .hg, .i or .d with '.hg' suffix"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    36
show('data/x.hg/x.i/x.d/foo')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    37
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    38
print "but these are not encoded on *filenames*"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    39
show('data/foo/x.hg')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    40
show('data/foo/x.i')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    41
show('data/foo/x.d')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    42
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    43
print "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
    44
show('data/.hg/.i/.d/foo')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    45
7275
c00cdac22d3c add new test-hybridencode.py
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    46
show('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
    47
8659
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    48
show('data/AUX/SECOND/X.PRN/FOURTH/FI:FTH/SIXTH/SEVENTH/EIGHTH/NINETH/'
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    49
     'TENTH/ELEVENTH/LOREMIPSUM.TXT.i')
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    50
show('data/enterprise/openesbaddons/contrib-imola/corba-bc/netbeansplugin/'
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    51
     'wsdlExtension/src/main/java/META-INF/services/org.netbeans.modules'
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    52
     '.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider.i')
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    53
show('data/AUX.THE-QUICK-BROWN-FOX-JU:MPS-OVER-THE-LAZY-DOG-THE-QUICK-'
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    54
     'BROWN-FOX-JUMPS-OVER-THE-LAZY-DOG.TXT.i')
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    55
show('data/Project Planning/Resources/AnotherLongDirectoryName/'
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    56
     'Followedbyanother/AndAnother/AndThenAnExtremelyLongFileName.txt')
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    57
show('data/Project.Planning/Resources/AnotherLongDirectoryName/'
1a6d702e059d test-hybridencode: break long string literals
Martin Geisler <mg@lazybytes.net>
parents: 7515
diff changeset
    58
     'Followedbyanother/AndAnother/AndThenAnExtremelyLongFileName.txt')
12687
34d8247a4595 store: encode first period or space in filenames (issue1713)
Adrian Buehlmann <adrian@cadifra.com>
parents: 8659
diff changeset
    59
show('data/foo.../foo   / /a./_. /__/.x../    bla/.FOO/something.i')
17432
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    60
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    61
show('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
    62
show('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
    63
show('data/c.x/co.x/com.x/com0.x/com1.x/com2.x/com3.x/com4.x/com5.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    64
                                        '/com6.x/com7.x/com8.x/com9.x')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    65
show('data/x.c/x.co/x.com0/x.com1/x.com2/x.com3/x.com4/x.com5'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    66
                                        '/x.com6/x.com7/x.com8/x.com9')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    67
show('data/cx/cox/comx/com0x/com1x/com2x/com3x/com4x/com5x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    68
                                            '/com6x/com7x/com8x/com9x')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    69
show('data/xc/xco/xcom0/xcom1/xcom2/xcom3/xcom4/xcom5'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    70
                                            '/xcom6/xcom7/xcom8/xcom9')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    71
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    72
show('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
    73
show('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
    74
show('data/l.x/lp.x/lpt.x/lpt0.x/lpt1.x/lpt2.x/lpt3.x/lpt4.x/lpt5.x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    75
                                        '/lpt6.x/lpt7.x/lpt8.x/lpt9.x')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    76
show('data/x.l/x.lp/x.lpt/x.lpt0/x.lpt1/x.lpt2/x.lpt3/x.lpt4/x.lpt5'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    77
                                        '/x.lpt6/x.lpt7/x.lpt8/x.lpt9')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    78
show('data/lx/lpx/lptx/lpt0x/lpt1x/lpt2x/lpt3x/lpt4x/lpt5x'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    79
                                            '/lpt6x/lpt7x/lpt8x/lpt9x')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    80
show('data/xl/xlp/xlpt/xlpt0/xlpt1/xlpt2/xlpt3/xlpt4/xlpt5'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    81
                                            '/xlpt6/xlpt7/xlpt8/xlpt9')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    82
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    83
show('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
    84
show('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
    85
show('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
    86
show('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
    87
show('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
    88
show('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
    89
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    90
print "largest unhashed path"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    91
show('data/123456789-123456789-123456789-123456789-123456789-'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    92
          'unhashed--xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    93
          '123456789-12345')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    94
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    95
print "shortest hashed path"
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    96
show('data/123456789-123456789-123456789-123456789-123456789-'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    97
          'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    98
          '123456789-123456')
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
    99
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
   100
print "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
   101
show('data/123456789-123456789-123456789-123456789-123456789-'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
   102
          'hashed----xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxy-'
61bd77b57c86 test-hybridencode: more testcases
Adrian Buehlmann <adrian@cadifra.com>
parents: 17404
diff changeset
   103
          '123456789-123456')
17440
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   104
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   105
print "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
   106
show('data/A23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   107
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   108
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   109
show('data/Z23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   110
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   111
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   112
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   113
print "compare with lowercase not hitting limit"
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   114
show('data/a23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   115
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   116
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   117
show('data/z23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   118
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   119
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   120
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   121
print "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
   122
show("data/abcdefghijklmnopqrstuvwxyz0123456789 !#%&'()+,-.;="
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   123
          "[]^`{}xxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-"
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   124
          "123456789-12345")
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   125
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   126
print "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
   127
show('data/_23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   128
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   129
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   130
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   131
print "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
   132
show('data/~23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   133
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   134
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   135
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   136
print "Windows reserved characters hitting length limit"
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   137
show('data/<23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   138
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   139
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   140
show('data/>23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   141
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   142
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   143
show('data/:23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   144
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   145
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   146
show('data/"23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   147
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   148
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   149
show('data/\\23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   150
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   151
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   152
show('data/|23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   153
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   154
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   155
show('data/?23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   156
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   157
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   158
show('data/*23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   159
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   160
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   161
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   162
print "initial space hitting length limit"
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   163
show('data/ 23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   164
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   165
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   166
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   167
print "initial dot hitting length limit"
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   168
show('data/.23456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   169
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   170
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   171
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   172
print "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
   173
show('data/123456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   174
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   175
          '123456789-1234 ')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   176
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   177
print "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
   178
show('data/123456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   179
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   180
          '123456789-1234.')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   181
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   182
print "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
   183
show('data/ x/456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   184
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   185
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   186
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   187
print "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
   188
show('data/.x/456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   189
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   190
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   191
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   192
print "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
   193
show('data/x /456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   194
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   195
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   196
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   197
print "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
   198
show('data/x./456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   199
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   200
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   201
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   202
print "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
   203
show('data/x.i/56789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   204
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   205
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   206
show('data/x.d/56789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   207
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   208
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   209
show('data/x.hg/5789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   210
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   211
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   212
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   213
print "Windows reserved filenames, hitting length limit"
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   214
show('data/con/56789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   215
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   216
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   217
show('data/prn/56789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   218
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   219
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   220
show('data/aux/56789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   221
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   222
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   223
show('data/nul/56789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   224
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   225
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   226
show('data/com1/6789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   227
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   228
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   229
show('data/com9/6789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   230
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   231
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   232
show('data/lpt1/6789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   233
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   234
          '123456789-12345')
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   235
show('data/lpt9/6789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   236
          'xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   237
          '123456789-12345')
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
print "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
   240
show('data/123456789-123456789-123456789-123456789-123456789-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   241
          '/com/com0/lpt/lpt0/-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-'
5be041254a2e test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com>
parents: 17432
diff changeset
   242
          '123456789-12345')