archive: support using lz4 legacy (MR 36)
fixes: https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/issues/27
This commit is contained in:
committed by
Clayton Craft
parent
0054fde90d
commit
a15c02f3aa
@@ -249,6 +249,12 @@ func TestExtractFormatLevel(t *testing.T) {
|
||||
expectedFormat: FormatLzma,
|
||||
expectedLevel: LevelDefault,
|
||||
},
|
||||
{
|
||||
name: "lz4, fast",
|
||||
in: "lz4:fast",
|
||||
expectedFormat: FormatLz4,
|
||||
expectedLevel: LevelFast,
|
||||
},
|
||||
{
|
||||
name: "none",
|
||||
in: "none",
|
||||
|
Reference in New Issue
Block a user