Skip to content

Commit

Permalink
gadget: add mkfs functions to export_test
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
  • Loading branch information
cmatsuoka committed Jun 10, 2020
1 parent 7fdffff commit f195964
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gadget/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ var (

ParseSize = parseSize
ParseRelativeOffset = parseRelativeOffset

MkfsExt4 = mkfsExt4
MkfsVfat = mkfsVfat
)

func MockEvalSymlinks(mock func(path string) (string, error)) (restore func()) {
Expand Down

0 comments on commit f195964

Please sign in to comment.