Skip to content

Commit 5d62e18

Browse files
Don't care about exact exit code
Ubuntu reports 11 while other platforms only give 1
1 parent 802d79d commit 5d62e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bats.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ HEREDOC
15721572
chmod a+x "$REPORT_FORMATTER"
15731573

15741574
bats_require_minimum_version 1.5.0
1575-
reentrant_run -1 bats "$FIXTURE_ROOT/passing.bats" --report-formatter "$REPORT_FORMATTER" --output "$BATS_TEST_TMPDIR"
1575+
reentrant_run ! bats "$FIXTURE_ROOT/passing.bats" --report-formatter "$REPORT_FORMATTER" --output "$BATS_TEST_TMPDIR"
15761576

15771577
[ "${lines[0]}" = "ERROR: command \`$REPORT_FORMATTER\` failed with status 11" ]
15781578
}

0 commit comments

Comments
 (0)