Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-130590 / 24.10-RC.1 / add truenas-verify to build depends (by creatorcary) #14387

Merged
merged 3 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.'
Loading