tests/test-archive.t
changeset 43699 21e05aabef8c
parent 43107 5e9188f054d9
child 44606 862025f108c7
--- a/tests/test-archive.t	Thu Nov 14 22:31:21 2019 -0800
+++ b/tests/test-archive.t	Tue Nov 12 17:47:42 2019 -0500
@@ -574,8 +574,8 @@
 
 #if py3
   $ hg archive ../archive.txz
-  $ xz -l ../archive.txz | head -n1
-  Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename
+  $ which xz >/dev/null && xz -l ../archive.txz | head -n1 || true
+  Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename (xz !)
   $ rm -f ../archive.txz
 #else
   $ hg archive ../archive.txz