tests/test-archive.t
changeset 43739 21e05aabef8c
parent 43107 5e9188f054d9
child 44611 862025f108c7
equal deleted inserted replaced
43738:0c25e3404e23 43739:21e05aabef8c
   572 
   572 
   573 test xz support only available in Python 3.4
   573 test xz support only available in Python 3.4
   574 
   574 
   575 #if py3
   575 #if py3
   576   $ hg archive ../archive.txz
   576   $ hg archive ../archive.txz
   577   $ xz -l ../archive.txz | head -n1
   577   $ which xz >/dev/null && xz -l ../archive.txz | head -n1 || true
   578   Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename
   578   Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename (xz !)
   579   $ rm -f ../archive.txz
   579   $ rm -f ../archive.txz
   580 #else
   580 #else
   581   $ hg archive ../archive.txz
   581   $ hg archive ../archive.txz
   582   abort: xz compression is only available in Python 3
   582   abort: xz compression is only available in Python 3
   583   [255]
   583   [255]