~apport-hackers/apport/main

Viewing all changes in revision 3904.

  • Committer: Simon Chopin
  • Author(s): Benjamin Drung
  • Date: 2023-04-27 08:38:12 UTC
  • Revision ID: git-v1:26bfe0e8f56f8df028c1e0cbb844e772fdbe29ce
fix(tests): Fix check for full name in test_run_crash_anonymity

The value `pw_gecos` contains a comma separated list where the first
element might be the full user name. Split the first element from
`pw_gecos` (if it is not empty) to check that the full name is not in
the crash report.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: