From d90769d2c6e6dfaa47d1a1c67361b635b1b793dc Mon Sep 17 00:00:00 2001 From: mortee Date: Thu, 15 Feb 2024 18:30:11 +0100 Subject: occ news:updater:job exits with code 2 if last update was too long ago Signed-off-by: mortee --- tests/command/update.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/command/update.bats b/tests/command/update.bats index d94c1cd28..29b1ae763 100644 --- a/tests/command/update.bats +++ b/tests/command/update.bats @@ -11,7 +11,7 @@ TESTSUITE="Update" @test "[$TESTSUITE] Job status" { run ./occ news:updater:job - assert_success + [ "$status" -eq 0 -o "$status" -eq 2 ] } @test "[$TESTSUITE] Job reset" { -- cgit v1.2.3