test: add test that ensure disk space is doubled
Ensure that the disk size of a container is taken into account when the image is generated. The current heuristic is that we just double the container size. The test will not build an image just generate a manifest and check that the image file is generated with the expected size.
This commit is contained in:
parent
2d95d34bb6
commit
1bfb930266
1 changed files with 2 additions and 1 deletions
|
|
@ -5,9 +5,10 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
|
||||
"github.com/osbuild/bootc-image-builder/bib/internal/podmanutil"
|
||||
"github.com/osbuild/bootc-image-builder/bib/internal/util"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// EnsureEnvironment mutates external filesystem state as necessary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue