Skip to content

Commit

Permalink
Fix shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed Oct 19, 2022
1 parent 715acf0 commit 72beb85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/bats.bats
Expand Up @@ -1433,6 +1433,7 @@ enforce_own_process_group() {
}

@test "BATS_TEST_RETRIES allows for retrying tests" {
# shellcheck disable=SC2030
export LOG="$BATS_TEST_TMPDIR/call.log"
bats_require_minimum_version 1.5.0
reentrant_run ! bats "$FIXTURE_ROOT/retry.bats"
Expand Down Expand Up @@ -1482,6 +1483,7 @@ enforce_own_process_group() {
}

@test "Exit code is zero after successful retry (see #660)" {
# shellcheck disable=SC2031
export LOG="$BATS_TEST_TMPDIR/call.log"
bats_require_minimum_version 1.5.0
reentrant_run -0 bats "$FIXTURE_ROOT/retry_success.bats"
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/bats/retry_success.bats
@@ -1,3 +1,4 @@
# shellcheck disable=SC2034
BATS_TEST_RETRIES=2 # means three tries per test

@test "Fail once" {
Expand Down

0 comments on commit 72beb85

Please sign in to comment.