test-subrepo-git: ignore pax_global_header when listing archive
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 07 May 2015 16:43:58 -0700
changeset 24964 fc92ccbbeb9a
parent 24963 d78dea2248b1
child 24965 cecbe207cebd
test-subrepo-git: ignore pax_global_header when listing archive 5115d03440f4 is adding a new tar call but forgot to filter out the pax_global_header file that some tar versions write. This is similar to what happened in 5dda6c708138.
tests/test-subrepo-git.t
--- a/tests/test-subrepo-git.t	Thu May 07 14:57:02 2015 -0700
+++ b/tests/test-subrepo-git.t	Thu May 07 16:43:58 2015 -0700
@@ -326,7 +326,7 @@
   ../archive_x/s/g
 
   $ hg -R ../tc archive -S ../archive.tgz --prefix '.' 2>/dev/null
-  $ tar -tzf ../archive.tgz | sort
+  $ tar -tzf ../archive.tgz | sort | grep -v pax_global_header
   .hg_archival.txt
   .hgsub
   .hgsubstate