Make '**' implicit
Default to copying all entries in the input zip to the output zip. Test: zip2zip_test Change-Id: I0d70620c621bfeee2b7fe2a64b350b4866ad2877
This commit is contained in:
@@ -116,6 +116,31 @@ var testCases = []struct {
|
||||
"RADIO/a",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "sort all implicit",
|
||||
|
||||
inputFiles: []string{
|
||||
"RADIO/a",
|
||||
"IMAGES/system.img",
|
||||
"IMAGES/b.txt",
|
||||
"IMAGES/recovery.img",
|
||||
"IMAGES/vendor.img",
|
||||
"OTA/b",
|
||||
"OTA/android-info.txt",
|
||||
},
|
||||
sortGlobs: true,
|
||||
args: nil,
|
||||
|
||||
outputFiles: []string{
|
||||
"IMAGES/b.txt",
|
||||
"IMAGES/recovery.img",
|
||||
"IMAGES/system.img",
|
||||
"IMAGES/vendor.img",
|
||||
"OTA/android-info.txt",
|
||||
"OTA/b",
|
||||
"RADIO/a",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "sort jar",
|
||||
|
||||
|
Reference in New Issue
Block a user