Update linux_package_integration_tests.py

Add '-/tmp' to 'ReadWritePaths'.
This commit is contained in:
computezrmle 2024-12-29 07:34:21 +01:00 committed by GitHub
parent 6d231ecdd0
commit 1a6a6fd2fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class IntegrationTests:
def test_selected_values_from_boinc_client_service_file(self):
ts = testset.TestSet("Test selected values from the '/usr/lib/systemd/system/boinc-client.service' file")
data = self._get_key_value_pairs_from_file("/usr/lib/systemd/system/boinc-client.service")
ts.expect_equal(data["ReadWritePaths"], "-/var/lib/boinc -/etc/boinc-client", "Test 'ReadWritePaths' is correctly set")
ts.expect_equal(data["ReadWritePaths"], "-/var/lib/boinc -/etc/boinc-client -/tmp", "Test 'ReadWritePaths' is correctly set")
ts.expect_equal(data["User"], "boinc", "Test 'User' is correctly set")
ts.expect_equal(data["WorkingDirectory"], "/var/lib/boinc", "Test 'WorkingDirectory' is correctly set")
ts.expect_equal(data["ExecStart"], "/usr/local/bin/boinc", "Test 'ExecStart' is correctly set")