##// END OF EJS Templates
tests: glob whitespace between path and OK in unzip(1) output...
Augie Fackler -
r29562:cda10ff3 default
parent child Browse files
Show More
@@ -117,13 +117,13 b' invalid arch type should give 404'
117 117 $ python getarchive.py "$TIP" zip > archive.zip
118 118 $ unzip -t archive.zip
119 119 Archive: archive.zip
120 testing: test-archive-1701ef1f1510/.hg_archival.txt OK
121 testing: test-archive-1701ef1f1510/.hgsub OK
122 testing: test-archive-1701ef1f1510/.hgsubstate OK
123 testing: test-archive-1701ef1f1510/bar OK
124 testing: test-archive-1701ef1f1510/baz/bletch OK
125 testing: test-archive-1701ef1f1510/foo OK
126 testing: test-archive-1701ef1f1510/subrepo/sub OK
120 testing: test-archive-1701ef1f1510/.hg_archival.txt*OK (glob)
121 testing: test-archive-1701ef1f1510/.hgsub*OK (glob)
122 testing: test-archive-1701ef1f1510/.hgsubstate*OK (glob)
123 testing: test-archive-1701ef1f1510/bar*OK (glob)
124 testing: test-archive-1701ef1f1510/baz/bletch*OK (glob)
125 testing: test-archive-1701ef1f1510/foo*OK (glob)
126 testing: test-archive-1701ef1f1510/subrepo/sub*OK (glob)
127 127 No errors detected in compressed data of archive.zip.
128 128
129 129 test that we can download single directories and files
@@ -235,9 +235,9 b' rename them afterwards.'
235 235 $ hg archive --config ui.archivemeta=false -t zip -r 2 test.zip
236 236 $ unzip -t test.zip
237 237 Archive: test.zip
238 testing: test/bar OK
239 testing: test/baz/bletch OK
240 testing: test/foo OK
238 testing: test/bar*OK (glob)
239 testing: test/baz/bletch*OK (glob)
240 testing: test/foo*OK (glob)
241 241 No errors detected in compressed data of test.zip.
242 242
243 243 $ hg archive -t tar - | tar tf - 2>/dev/null
@@ -232,8 +232,8 b' Archive contains largefiles'
232 232 ... f.write(urllib2.urlopen(u).read())
233 233 $ unzip -t archive.zip
234 234 Archive: archive.zip
235 testing: empty-default/.hg_archival.txt OK
236 testing: empty-default/f1 OK
235 testing: empty-default/.hg_archival.txt*OK (glob)
236 testing: empty-default/f1*OK (glob)
237 237 No errors detected in compressed data of archive.zip.
238 238
239 239 test 'verify' with remotestore:
General Comments 0
You need to be logged in to leave comments. Login now