Skip to content
Snippets Groups Projects
Commit e7ae602b authored by Simon McVittie's avatar Simon McVittie Committed by Sjoerd Simons
Browse files

sanity-check: print a process tree in terms of both ppid and cgroup


This should help to debug situations where a process has been
started the wrong way, for example in T1984.

Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D3648
parent 57242f89
No related branches found
Tags apertis/1%0.20160928.0
No related merge requests found
......@@ -24,6 +24,11 @@ fail () {
echo "TEST_RESULT:fail:$tag:$*" >&2
}
# This is just for information, so we ignore the exit status. Minimal
# images might legitimately not have these tools.
systemd-cgls -al --no-pager || :
pstree -lpu || :
getent passwd root || fail getent-passwd-root
getent passwd user || fail getent-passwd-user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment