mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 23:04:53 -04:00
file handler: Add "mkdirAll" flag
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
49a1a07049
commit
e10a47f255
13 changed files with 66 additions and 38 deletions
|
@ -49,7 +49,7 @@ func TestCheckDirClean(t *testing.T) {
|
|||
require := require.New(t)
|
||||
|
||||
for _, f := range tc.existingFiles {
|
||||
require.NoError(tc.fileHandler.Write(f, []byte{1, 2, 3}, false))
|
||||
require.NoError(tc.fileHandler.Write(f, []byte{1, 2, 3}, file.OptNone))
|
||||
}
|
||||
|
||||
err := checkDirClean(tc.fileHandler, config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue