Skip to content

Commit 364d29c

Browse files
J12934Reet00
authored andcommitted
Switch integration tests using git image to only use sh instead of bash
No bash in alpine image by default Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
1 parent a393b9c commit 364d29c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scanners/gitleaks/integration-tests/gitleaks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test(
3333
name: "init-git",
3434
image: "alpine/git",
3535
command: [
36-
"bash",
36+
"sh",
3737
"-c",
3838
// Bash script to create a git repo with a demo file
3939
`cd /repo && \\

scanners/trivy/integration-tests/trivy.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test(
5252
name: "init-git",
5353
image: "alpine/git",
5454
command: [
55-
"bash",
55+
"sh",
5656
"-c",
5757
// Bash script to create a git repo with a demo file
5858
`cd /repo && \\

0 commit comments

Comments
 (0)