@@ -85,7 +85,7 @@ func TestVolumeWorkspaceCreator(t *testing.T) {
85
85
"--user" , "0:0" ,
86
86
"--mount" , "type=volume,source=" + volumeID + ",target=/work" ,
87
87
DockerVolumeWorkspaceImage ,
88
- "sh" , "-c" , "unzip /tmp/zip; rm /work/*" ,
88
+ "sh" , "-c" , "bsdtar -xf /tmp/zip && rm /work/*" ,
89
89
),
90
90
expect .NewGlob (
91
91
expect .Success ,
@@ -122,7 +122,7 @@ func TestVolumeWorkspaceCreator(t *testing.T) {
122
122
"--user" , "0:0" ,
123
123
"--mount" , "type=volume,source=" + volumeID + ",target=/work" ,
124
124
DockerVolumeWorkspaceImage ,
125
- "sh" , "-c" , "unzip /tmp/zip; rm /work/*" ,
125
+ "sh" , "-c" , "bsdtar -xf /tmp/zip && rm /work/*" ,
126
126
),
127
127
expect .NewGlob (
128
128
expect .Success ,
@@ -163,7 +163,7 @@ func TestVolumeWorkspaceCreator(t *testing.T) {
163
163
"--user" , "1:2" ,
164
164
"--mount" , "type=volume,source=" + volumeID + ",target=/work" ,
165
165
DockerVolumeWorkspaceImage ,
166
- "sh" , "-c" , "unzip /tmp/zip; rm /work/*" ,
166
+ "sh" , "-c" , "bsdtar -xf /tmp/zip && rm /work/*" ,
167
167
),
168
168
expect .NewGlob (
169
169
expect .Success ,
@@ -242,7 +242,7 @@ func TestVolumeWorkspaceCreator(t *testing.T) {
242
242
"--user" , "0:0" ,
243
243
"--mount" , "type=volume,source=" + volumeID + ",target=/work" ,
244
244
DockerVolumeWorkspaceImage ,
245
- "sh" , "-c" , "unzip /tmp/zip; rm /work/*" ,
245
+ "sh" , "-c" , "bsdtar -xf /tmp/zip && rm /work/*" ,
246
246
),
247
247
expect .NewGlob (
248
248
expect.Behaviour {ExitCode : 1 },
@@ -284,7 +284,7 @@ func TestVolumeWorkspaceCreator(t *testing.T) {
284
284
"--user" , "0:0" ,
285
285
"--mount" , "type=volume,source=" + volumeID + ",target=/work" ,
286
286
DockerVolumeWorkspaceImage ,
287
- "sh" , "-c" , "unzip /tmp/zip; rm /work/*" ,
287
+ "sh" , "-c" , "bsdtar -xf /tmp/zip && rm /work/*" ,
288
288
),
289
289
},
290
290
steps : []batcheslib.Step {
@@ -318,7 +318,7 @@ func TestVolumeWorkspaceCreator(t *testing.T) {
318
318
"--user" , "0:0" ,
319
319
"--mount" , "type=volume,source=" + volumeID + ",target=/work" ,
320
320
DockerVolumeWorkspaceImage ,
321
- "sh" , "-c" , "unzip /tmp/zip; rm /work/*" ,
321
+ "sh" , "-c" , "bsdtar -xf /tmp/zip && rm /work/*" ,
322
322
),
323
323
expect .NewGlob (
324
324
expect .Success ,
0 commit comments