Skip to content

Commit

Permalink
NAS-130590 / 24.10-RC.1 / add truenas-verify to build depends (by cre…
Browse files Browse the repository at this point in the history
…atorcary) (#14387)
  • Loading branch information
bugclerk authored Aug 30, 2024
1 parent d98e5b9 commit c0771bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/middlewared/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Build-Depends: alembic,
python3-sgio,
python3-systemd,
python3-truenas-api-client,
python3-truenas-verify,
python3-websocket,
python3-zeroconf,
python3-zettarepl,
Expand Down Expand Up @@ -158,6 +159,7 @@ Depends: alembic,
python3-sgio,
python3-systemd,
python3-truenas-api-client,
python3-truenas-verify,
python3-websocket,
python3-zeroconf,
python3-zettarepl,
Expand Down
9 changes: 9 additions & 0 deletions tests/api2/test_truenas_verify.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from middlewared.test.integration.utils import ssh


def test_truenas_verify():
response = ssh('truenas_verify', check=False, complete_response=True)

# Jenkins vms alter the system files for setup, so truenas_verify should generate errors.
assert not response['result']
assert ssh('head /var/log/truenas_verify.log'), 'Test environment should log file verification errors.'

0 comments on commit c0771bf

Please sign in to comment.