tests/test-encode.t
changeset 37461 538353b80676
parent 16913 f2719b387380
child 48335 b7fde9237c92
equal deleted inserted replaced
37460:a6c6b7beb025 37461:538353b80676
    57   $ cd subdir
    57   $ cd subdir
    58   $ hg -R .. cat ../a.gz
    58   $ hg -R .. cat ../a.gz
    59   this is a test
    59   this is a test
    60   $ hg -R .. cat --decode ../a.gz | gunzip
    60   $ hg -R .. cat --decode ../a.gz | gunzip
    61   this is a test
    61   this is a test
       
    62   $ cd ..
       
    63 
       
    64 check tempfile filter
       
    65 
       
    66   $ hg cat a.gz --decode --config 'decode.*.gz=tempfile:gzip -c INFILE > OUTFILE' | gunzip
       
    67   this is a test
       
    68   $ hg cat a.gz --decode --config 'decode.*.gz=tempfile:sh -c "exit 1"'
       
    69   abort: command '*' failed: exited with status 1 (glob)
       
    70   [255]
    62 
    71 
    63   $ cd ..
    72   $ cd ..