Skip to content

Commit 0b19898

Browse files
committed
Add expected exit code to assert_failure where it was missing.
Unclear how this worked in general, but it was failing for one of my PRs. Definition for `assert_failure` can be found in submit/assert.bash
1 parent 8640042 commit 0b19898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/jobs/configure-checks/all.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ compile_assertions_finished () {
437437
assert_line " * judgehost...........: /opt/domjudge/judgehost"
438438
assert_line " * runguard group......: domjudge-run"
439439
run make domserver
440-
assert_failure
440+
assert_failure 2
441441
run make judgehost
442442
assert_success
443443
}
@@ -456,5 +456,5 @@ compile_assertions_finished () {
456456
run make domserver
457457
assert_success
458458
run make judgehost
459-
assert_failure
459+
assert_failure 2
460460
}

0 commit comments

Comments
 (0)