Skip to content

Commit

Permalink
test: Add TEST-85-NETWORK to run systemd-networkd-tests.py
Browse files Browse the repository at this point in the history
This adds a testsuite unit to run systemd-networkd-tests.py. This is
mkosi only for now as python is not available in the images set up
by the bash framework. We give the test a lower priority as it takes
a while to run so we want to start it as soon as possible.
  • Loading branch information
DaanDeMeyer committed May 10, 2024
1 parent ecd006e commit 3163806
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/TEST-85-NETWORK/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

test_params += {
'timeout' : 3600,
'priority' : -50,
}
1 change: 1 addition & 0 deletions test/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ integration_tests = {
# '82': 'TEST-82-SOFTREBOOT',
'83': 'TEST-83-BTRFS',
'84': 'TEST-84-STORAGETM',
'85': 'TEST-85-NETWORK',
}
foreach test_number, dirname : integration_tests
test_params = {
Expand Down
8 changes: 8 additions & 0 deletions test/units/testsuite-85.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=TEST-85-NETWORK
After=multi-user.target

[Service]
ExecStart=/usr/lib/systemd/tests/testdata/test-network/systemd-networkd-tests.py --no-journal
Type=oneshot

0 comments on commit 3163806

Please sign in to comment.