Skip to content

Commit 8ccd647

Browse files
committed
tests: mirror is-systemd-running test from systemd
1 parent 644e11f commit 8ccd647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd/test/test_daemon.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def closing_socketpair(family):
2626

2727

2828
def test_booted():
29-
if os.path.exists('/run/systemd'):
29+
if os.path.exists('/run/systemd/system'):
3030
# assume we are running under systemd
3131
assert booted()
3232
else:

0 commit comments

Comments
 (0)