@@ -22,7 +22,7 @@ func TestJailerBuilder(t *testing.T) {
22
22
UID : Int (123 ),
23
23
GID : Int (100 ),
24
24
NumaNode : Int (0 ),
25
- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
25
+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
26
26
ExecFile : "/path/to/firecracker" ,
27
27
},
28
28
expectedArgs : []string {
@@ -53,7 +53,7 @@ func TestJailerBuilder(t *testing.T) {
53
53
UID : Int (123 ),
54
54
GID : Int (100 ),
55
55
NumaNode : Int (0 ),
56
- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
56
+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
57
57
ExecFile : "/path/to/firecracker" ,
58
58
JailerBinary : "imprisoner" ,
59
59
},
@@ -86,7 +86,7 @@ func TestJailerBuilder(t *testing.T) {
86
86
UID : Int (123 ),
87
87
GID : Int (100 ),
88
88
NumaNode : Int (1 ),
89
- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
89
+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
90
90
ExecFile : "/path/to/firecracker" ,
91
91
ChrootBaseDir : "/tmp" ,
92
92
JailerBinary : "/path/to/the/jailer" ,
@@ -166,7 +166,7 @@ func TestJail(t *testing.T) {
166
166
UID : Int (123 ),
167
167
GID : Int (100 ),
168
168
NumaNode : Int (0 ),
169
- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
169
+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
170
170
ExecFile : "/path/to/firecracker" ,
171
171
},
172
172
expectedArgs : []string {
@@ -202,7 +202,7 @@ func TestJail(t *testing.T) {
202
202
UID : Int (123 ),
203
203
GID : Int (100 ),
204
204
NumaNode : Int (0 ),
205
- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
205
+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
206
206
ExecFile : "/path/to/firecracker" ,
207
207
JailerBinary : "imprisoner" ,
208
208
},
@@ -240,7 +240,7 @@ func TestJail(t *testing.T) {
240
240
UID : Int (123 ),
241
241
GID : Int (100 ),
242
242
NumaNode : Int (1 ),
243
- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
243
+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
244
244
ExecFile : "/path/to/firecracker" ,
245
245
ChrootBaseDir : "/tmp" ,
246
246
JailerBinary : "/path/to/the/jailer" ,
@@ -283,7 +283,7 @@ func TestJail(t *testing.T) {
283
283
UID : Int (123 ),
284
284
GID : Int (100 ),
285
285
NumaNode : Int (0 ),
286
- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
286
+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
287
287
ExecFile : "/path/to/firecracker" ,
288
288
},
289
289
expectedArgs : []string {
0 commit comments