Case "0.basic", **decode valid**: ``ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` maps:: /a/d /b/1234 /a/yyy/xxx to:: lol/d foo/1234 bar/xxx Case "0.ordering", **decode valid**: ``ERROR=/a/b%+yyy:lol=/a:ERROR=/b/1234:foo=/b:libbar-3-bison++_41%.10.5-3~rc1pre3+dfsg1.1-3nmu1+b4=/a/b%+yyy`` maps:: /a/d /b/1234 /a/b=yyy/xxx to:: lol/d foo/1234 libbar-3-bison++_41:10.5-3~rc1pre3+dfsg1.1-3nmu1+b4/xxx Case "pecsplit.0.allbytes-ok", **decode valid**: ``b'=\x01\x02\x03\x04\x05\x06\x07\x08 \x0b\x0c \x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$&\'()*+,-./0123456789;<>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~\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\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\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\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'`` maps: (same as the input for Case "0.ordering") to: (same as the input for Case "0.ordering") Case "pecsplit.0.empty-ok", **decode valid**: ``:ERROR=/a/b%+yyy:lol=/a::foo=/b:libbar-3-bison++_41%.10.5-3~rc1pre3+dfsg1.1-3nmu1+b4=/a/b%+yyy:`` maps: (same as the input for Case "0.ordering") to: (same as the output for Case "0.ordering") Case "pecsplit.0.non-utf8", **decode valid**: ``b'result\xf1=/a/b%+yyy:lol%#%#=/a:foo%#%#=/b%#:result\xf1=/a/b%+yyy:sec%.reteh=/a/b%+yyy\xf1'`` maps:: /a/d /b/1234 /b%/1234 b'/a/b=yyy\xf1/xxx' /a/b=yyy/xxx to:: lol%%/d /b/1234 foo%%/1234 sec:reteh/xxx b'result\xf1/xxx' Case "pecsplit.1.long-pc-1", **decode invalid**: ``%%#ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` Case "pecsplit.1.long-pc-2", **decode invalid**: ``ERROR%%#=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` Case "pecsplit.1.long-pc-3", **decode invalid**: ``ERROR=/a/zzz:lol=%%#/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` Case "pecsplit.1.long-pc-4", **decode invalid**: ``ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b%%#:bar=/a/yyy`` Case "pecsplit.1.long-pc-5", **decode invalid**: ``ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy%%#`` Case "pecsplit.1.many-=-not-ok", **decode invalid**: ``ERROR=/a/b=yyy:lol=/a:foo=/b:bar=/a/byyy`` Case "pecsplit.1.plain-pc-1", **decode invalid**: ``%sERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` Case "pecsplit.1.plain-pc-2", **decode invalid**: ``ERROR%s=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` Case "pecsplit.1.plain-pc-3", **decode invalid**: ``ERROR=/a/zzz:lol=%s/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` Case "pecsplit.1.plain-pc-4", **decode invalid**: ``ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b%s:bar=/a/yyy`` Case "pecsplit.1.plain-pc-5", **decode invalid**: ``ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy%s`` Case "pecsplit.1.short-pc-2", **decode invalid**: ``ERROR%=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy`` Case "pecsplit.1.short-pc-4", **decode invalid**: ``ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b%:bar=/a/yyy`` Case "pecsplit.1.short-pc-5", **decode invalid**: ``ERROR=/a/zzz:lol=/a:ERROR=/b/1234:foo=/b:bar=/a/yyy%`` Case "pecsplit.1.zero-=-not-ok", **decode invalid**: ``/a/byyyERROR:lol=/a:foo=/b:bar=/a/byyy``