Skip to content

Commit

Permalink
Ingore docker warning from command output
Browse files Browse the repository at this point in the history
- Since gitlab runner (host) uses amd64 arch, we get a warning
from docker when running containers based on arm64 image
  • Loading branch information
arunvelsriram committed Aug 18, 2023
1 parent ed5e64f commit dd55cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ load test_helper
@test "utils user" {
run check_cmd "whoami"
[ "$status" -eq 0 ]
[ "$output" = "utils" ]
[ $(echo "$output" | grep -v WARNING) = "utils" ]
}

@test "utils user home" {
run check_cmd "pwd"
[ "$status" -eq 0 ]
[ "$output" = "/home/utils" ]
[ $(echo "$output" | grep -v WARNING) = "/home/utils" ]
}

@test "curl" {
Expand Down

0 comments on commit dd55cc1

Please sign in to comment.