We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87cd7e5 commit 2abe258Copy full SHA for 2abe258
test/test_modules.py
@@ -127,13 +127,14 @@ def test_ssh_service(host, docker_image):
127
assert ssh.is_enabled
128
129
130
+@all_images
131
def test_service_systemd_mask(host, docker_image):
132
name = "sshd" if docker_image == "rockylinux9" else "ssh"
133
ssh = host.service(name)
134
assert not ssh.is_masked
- host.run("systemctl mask ssh")
135
+ host.run(f"systemctl mask -- {name}")
136
assert ssh.is_masked
- host.run("systemctl unmask ssh")
137
+ host.run(f"systemctl unmask -- {name}")
138
139
140
0 commit comments