archive: support using lzma (MR 25)

fixes: https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/issues/2
This commit is contained in:
Clayton Craft
2023-02-21 13:38:29 -08:00
parent ba1e1a77db
commit 786e09d855
4 changed files with 19 additions and 0 deletions

View File

@@ -243,6 +243,12 @@ func TestExtractFormatLevel(t *testing.T) {
expectedFormat: FormatGzip,
expectedLevel: LevelDefault,
},
{
name: "lzma, fast",
in: "lzma:fast",
expectedFormat: FormatLzma,
expectedLevel: LevelDefault,
},
}
for _, test := range tests {