Skip to content

Commit

Permalink
tests: update expeted error codes of qubes-vm-update
Browse files Browse the repository at this point in the history
When refreshing metadata fails, it's supposed to exit with code 23.

Related to QubesOS/qubes-core-admin-linux#160
  • Loading branch information
marmarek committed Jul 3, 2024
1 parent 3362ffc commit 2ed5a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubes/tests/integ/vm_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,15 +639,15 @@ def test_130_no_network_qubes_vm_update(self):
self.update_via_proxy_qubes_vm_update_impl(
method="qubes-vm-update",
options=(),
expected_ret_codes=(1, 2, 5),
expected_ret_codes=(23,),
break_repo=True
)

def test_131_no_network_qubes_vm_update_cli(self):
self.update_via_proxy_qubes_vm_update_impl(
method="qubes-vm-update",
options=("--no-progress",),
expected_ret_codes=(1, 2, 5),
expected_ret_codes=(23,),
break_repo=True
)

Expand Down

0 comments on commit 2ed5a1e

Please sign in to comment.