tests/test-wireproto-command-heads.t
changeset 39378 0f549da54379
parent 37725 3ea8323d6f95
child 39559 07b58266bce3
equal deleted inserted replaced
39377:b4e7e1f09c09 39378:0f549da54379
    56   s>     \xa1FstatusBok\x83T\x1dok\x91\xd4J\xab\xa6\xd5\xe5\x80\xbc0\xa9\x94\x850\xdb\xe0\x0bT\xaeI.6\xb0\xc83\x9f\xfa\xf3(\xd0\x0b\x85\xb4R]\xe1\x16^T)Dm-\xc5A\x9c_\x97Dz\x8b\xc0b\xe4\xcc2\x8b\xf2A
    56   s>     \xa1FstatusBok\x83T\x1dok\x91\xd4J\xab\xa6\xd5\xe5\x80\xbc0\xa9\x94\x850\xdb\xe0\x0bT\xaeI.6\xb0\xc83\x9f\xfa\xf3(\xd0\x0b\x85\xb4R]\xe1\x16^T)Dm-\xc5A\x9c_\x97Dz\x8b\xc0b\xe4\xcc2\x8b\xf2A
    57   s>     \r\n
    57   s>     \r\n
    58   received frame(size=75; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    58   received frame(size=75; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    59   s>     0\r\n
    59   s>     0\r\n
    60   s>     \r\n
    60   s>     \r\n
    61   response: [b'\x1dok\x91\xd4J\xab\xa6\xd5\xe5\x80\xbc0\xa9\x94\x850\xdb\xe0\x0b', b'\xaeI.6\xb0\xc83\x9f\xfa\xf3(\xd0\x0b\x85\xb4R]\xe1\x16^', b')Dm-\xc5A\x9c_\x97Dz\x8b\xc0b\xe4\xcc2\x8b\xf2A']
    61   response: [
       
    62     b'\x1dok\x91\xd4J\xab\xa6\xd5\xe5\x80\xbc0\xa9\x94\x850\xdb\xe0\x0b',
       
    63     b'\xaeI.6\xb0\xc83\x9f\xfa\xf3(\xd0\x0b\x85\xb4R]\xe1\x16^',
       
    64     b')Dm-\xc5A\x9c_\x97Dz\x8b\xc0b\xe4\xcc2\x8b\xf2A'
       
    65   ]
    62 
    66 
    63 Requesting just the public heads works
    67 Requesting just the public heads works
    64 
    68 
    65   $ sendhttpv2peer << EOF
    69   $ sendhttpv2peer << EOF
    66   > command heads
    70   > command heads
    89   s>     \xa1FstatusBok\x81Tx\xd2\xdc\xa46\xb2\xf5\xb1\x88\xac&~)\xb8\x1e\x07&m8\xfc
    93   s>     \xa1FstatusBok\x81Tx\xd2\xdc\xa46\xb2\xf5\xb1\x88\xac&~)\xb8\x1e\x07&m8\xfc
    90   s>     \r\n
    94   s>     \r\n
    91   received frame(size=33; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    95   received frame(size=33; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    92   s>     0\r\n
    96   s>     0\r\n
    93   s>     \r\n
    97   s>     \r\n
    94   response: [b'x\xd2\xdc\xa46\xb2\xf5\xb1\x88\xac&~)\xb8\x1e\x07&m8\xfc']
    98   response: [
       
    99     b'x\xd2\xdc\xa46\xb2\xf5\xb1\x88\xac&~)\xb8\x1e\x07&m8\xfc'
       
   100   ]
    95 
   101 
    96   $ cat error.log
   102   $ cat error.log