diff options
author | mortee <mortee@kavemalna.hu> | 2024-02-15 18:30:11 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2024-02-21 09:16:30 +0100 |
commit | d90769d2c6e6dfaa47d1a1c67361b635b1b793dc (patch) | |
tree | d47bd8c5ce58dd768473ebc58f5676e342240873 /tests | |
parent | 1ae4a36155098bd46c053a6513d2bfdb87f57326 (diff) |
occ news:updater:job exits with code 2 if last update was too long ago
Signed-off-by: mortee <mortee@kavemalna.hu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/command/update.bats | 2 |
1 files changed, 1 insertions, 1 deletions
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" { |