File tree 1 file changed +16
-4
lines changed
1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,14 @@ func TestSetup(t *testing.T) {
39
39
40
40
// Include test file into our file config
41
41
conf .Files = []* config.FileConfig {
42
- {"/boot/test.efi" , "/boot/new.efi" },
43
- {"/boot/something.efi" , "" },
42
+ {
43
+ Path : "/boot/test.efi" ,
44
+ Output : "/boot/new.efi" ,
45
+ },
46
+ {
47
+ Path : "/boot/something.efi" ,
48
+ Output : "" ,
49
+ },
44
50
}
45
51
46
52
state := & config.State {
@@ -136,8 +142,14 @@ func TestSetupTPMKeys(t *testing.T) {
136
142
137
143
// Include test file into our file config
138
144
conf .Files = []* config.FileConfig {
139
- {"/boot/test.efi" , "/boot/new.efi" },
140
- {"/boot/something.efi" , "" },
145
+ {
146
+ Path : "/boot/test.efi" ,
147
+ Output : "/boot/new.efi" ,
148
+ },
149
+ {
150
+ Path : "/boot/something.efi" ,
151
+ Output : "" ,
152
+ },
141
153
}
142
154
143
155
rwc , err := simulator .OpenSimulator ()
You can’t perform that action at this time.
0 commit comments