tests/test-wireproto-command-rawstorefiledata.t
changeset 45921 95c4cca641f6
parent 40329 ed55a0077490
child 46874 84a93fa7ecfd
equal deleted inserted replaced
45920:e131dbf6ee15 45921:95c4cca641f6
    29   $ sendhttpv2peer << EOF
    29   $ sendhttpv2peer << EOF
    30   > command rawstorefiledata
    30   > command rawstorefiledata
    31   > EOF
    31   > EOF
    32   creating http peer for wire protocol version 2
    32   creating http peer for wire protocol version 2
    33   sending rawstorefiledata command
    33   sending rawstorefiledata command
    34   abort: missing required arguments: files!
    34   abort: missing required arguments: files
    35   [255]
    35   [255]
    36 
    36 
    37 Unknown files value results in error
    37 Unknown files value results in error
    38 
    38 
    39   $ sendhttpv2peer << EOF
    39   $ sendhttpv2peer << EOF
    40   > command rawstorefiledata
    40   > command rawstorefiledata
    41   >     files eval:[b'unknown']
    41   >     files eval:[b'unknown']
    42   > EOF
    42   > EOF
    43   creating http peer for wire protocol version 2
    43   creating http peer for wire protocol version 2
    44   sending rawstorefiledata command
    44   sending rawstorefiledata command
    45   abort: unknown file type: unknown!
    45   abort: unknown file type: unknown
    46   [255]
    46   [255]
    47 
    47 
    48 Requesting just changelog works
    48 Requesting just changelog works
    49 
    49 
    50   $ sendhttpv2peer << EOF
    50   $ sendhttpv2peer << EOF