@@ -22,7 +22,7 @@ func TestJailerBuilder(t *testing.T) {
2222 UID : Int (123 ),
2323 GID : Int (100 ),
2424 NumaNode : Int (0 ),
25- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
25+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
2626 ExecFile : "/path/to/firecracker" ,
2727 },
2828 expectedArgs : []string {
@@ -53,7 +53,7 @@ func TestJailerBuilder(t *testing.T) {
5353 UID : Int (123 ),
5454 GID : Int (100 ),
5555 NumaNode : Int (0 ),
56- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
56+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
5757 ExecFile : "/path/to/firecracker" ,
5858 JailerBinary : "imprisoner" ,
5959 },
@@ -86,7 +86,7 @@ func TestJailerBuilder(t *testing.T) {
8686 UID : Int (123 ),
8787 GID : Int (100 ),
8888 NumaNode : Int (1 ),
89- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
89+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
9090 ExecFile : "/path/to/firecracker" ,
9191 ChrootBaseDir : "/tmp" ,
9292 JailerBinary : "/path/to/the/jailer" ,
@@ -166,7 +166,7 @@ func TestJail(t *testing.T) {
166166 UID : Int (123 ),
167167 GID : Int (100 ),
168168 NumaNode : Int (0 ),
169- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
169+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
170170 ExecFile : "/path/to/firecracker" ,
171171 },
172172 expectedArgs : []string {
@@ -202,7 +202,7 @@ func TestJail(t *testing.T) {
202202 UID : Int (123 ),
203203 GID : Int (100 ),
204204 NumaNode : Int (0 ),
205- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
205+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
206206 ExecFile : "/path/to/firecracker" ,
207207 JailerBinary : "imprisoner" ,
208208 },
@@ -240,7 +240,7 @@ func TestJail(t *testing.T) {
240240 UID : Int (123 ),
241241 GID : Int (100 ),
242242 NumaNode : Int (1 ),
243- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
243+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
244244 ExecFile : "/path/to/firecracker" ,
245245 ChrootBaseDir : "/tmp" ,
246246 JailerBinary : "/path/to/the/jailer" ,
@@ -283,7 +283,7 @@ func TestJail(t *testing.T) {
283283 UID : Int (123 ),
284284 GID : Int (100 ),
285285 NumaNode : Int (0 ),
286- ChrootStrategy : NewNaiveChrootStrategy ("path" , " kernel-image-path" ),
286+ ChrootStrategy : NewNaiveChrootStrategy ("kernel-image-path" ),
287287 ExecFile : "/path/to/firecracker" ,
288288 },
289289 expectedArgs : []string {
0 commit comments