changeset 24964:fc92ccbbeb9a

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 07 May 2015 16:43:58 -0700
parents d78dea2248b1
children cecbe207cebd
files tests/test-subrepo-git.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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