##// END OF EJS Templates
tests: fixup tests using unzip -l
Matt Mackall -
r12339:f85338f5 default
parent child Browse files
Show More
@@ -227,9 +227,9 b' old file -- date clamped to 1980'
227 $ hg archive ../old.zip
227 $ hg archive ../old.zip
228 $ unzip -l ../old.zip
228 $ unzip -l ../old.zip
229 Archive: ../old.zip
229 Archive: ../old.zip
230 Length Date Time Name
230 \s*Length.*
231 --------- ---------- ----- ----
231 .*-----.*
232 147 1980-01-01 00:00 old/.hg_archival.txt
232 .*147.*80.*00:00.*old/.hg_archival.txt
233 0 1980-01-01 00:00 old/old
233 .*0.*80.*00:00.*old/old
234 --------- -------
234 .*-----.*
235 147 2 files
235 \s*147\s+2 files
@@ -243,23 +243,9 b' Test archiving to a directory tree:'
243 ../archive/.hgsub
243 ../archive/.hgsub
244 ../archive/.hg_archival.txt
244 ../archive/.hg_archival.txt
245
245
246 Test archiving to zip file:
246 Test archiving to zip file (unzip output is unstable):
247
247
248 $ hg archive --subrepos ../archive.zip
248 $ hg archive --subrepos ../archive.zip
249 $ unzip -l ../archive.zip
250 Archive: ../archive.zip
251 Length Date Time Name
252 --------- ---------- ----- ----
253 147 1980-01-01 00:00 archive/.hg_archival.txt
254 10 1980-01-01 00:00 archive/.hgsub
255 45 1980-01-01 00:00 archive/.hgsubstate
256 3 1980-01-01 00:00 archive/x.txt
257 9 1980-01-01 00:00 archive/foo/y.txt
258 10 1980-01-01 00:00 archive/foo/.hgsub
259 45 1980-01-01 00:00 archive/foo/.hgsubstate
260 9 1980-01-01 00:00 archive/foo/bar/z.txt
261 --------- -------
262 278 8 files
263
249
264 Clone and test outgoing:
250 Clone and test outgoing:
265
251
General Comments 0
You need to be logged in to leave comments. Login now