tests/test-wireproto-command-filedata.t
changeset 39810 0b61d21f05cc
parent 39641 aa7e312375cf
child 39814 d059cb669632
equal deleted inserted replaced
39798:ddca38941b2b 39810:0b61d21f05cc
    67   s>     Server: testing stub value\r\n
    67   s>     Server: testing stub value\r\n
    68   s>     Date: $HTTP_DATE$\r\n
    68   s>     Date: $HTTP_DATE$\r\n
    69   s>     Content-Type: application/mercurial-exp-framing-0005\r\n
    69   s>     Content-Type: application/mercurial-exp-framing-0005\r\n
    70   s>     Transfer-Encoding: chunked\r\n
    70   s>     Transfer-Encoding: chunked\r\n
    71   s>     \r\n
    71   s>     \r\n
    72   s>     45\r\n
    72   s>     4e\r\n
    73   s>     =\x00\x00\x01\x00\x02\x012
    73   s>     F\x00\x00\x01\x00\x02\x012
    74   s>     \xa2Eerror\xa1GmessageX\x1enodes argument must be definedFstatusEerror
    74   s>     \xa2Eerror\xa1GmessageX\'missing required arguments: nodes, pathFstatusEerror
    75   s>     \r\n
    75   s>     \r\n
    76   received frame(size=61; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    76   received frame(size=70; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    77   s>     0\r\n
    77   s>     0\r\n
    78   s>     \r\n
    78   s>     \r\n
    79   abort: nodes argument must be defined!
    79   abort: missing required arguments: nodes, path!
    80   [255]
    80   [255]
    81 
    81 
    82   $ sendhttpv2peer << EOF
    82   $ sendhttpv2peer << EOF
    83   > command filedata
    83   > command filedata
    84   >     nodes eval:[]
    84   >     nodes eval:[]
    99   s>     Server: testing stub value\r\n
    99   s>     Server: testing stub value\r\n
   100   s>     Date: $HTTP_DATE$\r\n
   100   s>     Date: $HTTP_DATE$\r\n
   101   s>     Content-Type: application/mercurial-exp-framing-0005\r\n
   101   s>     Content-Type: application/mercurial-exp-framing-0005\r\n
   102   s>     Transfer-Encoding: chunked\r\n
   102   s>     Transfer-Encoding: chunked\r\n
   103   s>     \r\n
   103   s>     \r\n
   104   s>     44\r\n
   104   s>     47\r\n
   105   s>     <\x00\x00\x01\x00\x02\x012
   105   s>     ?\x00\x00\x01\x00\x02\x012
   106   s>     \xa2Eerror\xa1GmessageX\x1dpath argument must be definedFstatusEerror
   106   s>     \xa2Eerror\xa1GmessageX missing required arguments: pathFstatusEerror
   107   s>     \r\n
   107   s>     \r\n
   108   received frame(size=60; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
   108   received frame(size=63; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
   109   s>     0\r\n
   109   s>     0\r\n
   110   s>     \r\n
   110   s>     \r\n
   111   abort: path argument must be defined!
   111   abort: missing required arguments: path!
   112   [255]
   112   [255]
   113 
   113 
   114 Unknown node is an error
   114 Unknown node is an error
   115 
   115 
   116   $ sendhttpv2peer << EOF
   116   $ sendhttpv2peer << EOF