summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wolneykien <manowar@altlinux.org>2022-05-04 16:38:43 +0300
committerRobert Ancell <robert.ancell@gmail.com>2022-05-12 11:40:29 +1200
commit9abb4baec7b740476401456ec961acd036afdd23 (patch)
tree21badc054c2840e0846d6458a65234f4d0010a46
parentae4b2901ae7872b3e90a8866165289419dd05672 (diff)
downloadlightdm-git-9abb4baec7b740476401456ec961acd036afdd23.tar.gz
test-runner.c: Fix: Make the test runner aware of the --with-greeter-user configuration parameter
Use GREETER_USER for the greeter user name in the `<temp_dir>/etc/passwd` file. Without this modification LightDM built with non-default greeter user name is unable to pass some tests. Signed-off-by: Paul Wolneykien <manowar@altlinux.org>
-rw-r--r--tests/src/test-runner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test-runner.c b/tests/src/test-runner.c
index 78f476af..1b961961 100644
--- a/tests/src/test-runner.c
+++ b/tests/src/test-runner.c
@@ -2582,7 +2582,7 @@ main (int argc, char **argv)
/* Root account */
{"root", "", "root", 0},
/* Unprivileged account for greeters */
- {"lightdm", "", "", 100},
+ {GREETER_USER, "", "", 100},
/* These accounts have a password */
{"have-password1", "password", "Password User 1", 1000},
{"have-password2", "password", "Password User 2", 1001},