summaryrefslogtreecommitdiffstats
path: root/src/test/test-acl-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-12-07 07:48:44 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-12-07 09:12:09 +0100
commita3d37fe9a359c81475a5d2db8c6574e05e88aa71 (patch)
tree0c3fd4b2bdfad0e794a0c440a3de39d3ee57e22d /src/test/test-acl-util.c
parentMerge pull request #7554 from keszybz/autodetect-build (diff)
downloadsystemd-a3d37fe9a359c81475a5d2db8c6574e05e88aa71.tar.xz
systemd-a3d37fe9a359c81475a5d2db8c6574e05e88aa71.zip
test: use NOBODY_USER_NAME instead of hard-coded string "noody"
Diffstat (limited to 'src/test/test-acl-util.c')
-rw-r--r--src/test/test-acl-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-acl-util.c b/src/test/test-acl-util.c
index 7b66e189ba..70ffdbc519 100644
--- a/src/test/test-acl-util.c
+++ b/src/test/test-acl-util.c
@@ -49,7 +49,7 @@ static void test_add_acls_for_user(void) {
assert_se(system(cmd) == 0);
if (getuid() == 0) {
- const char *nobody = "nobody";
+ const char *nobody = NOBODY_USER_NAME;
r = get_user_creds(&nobody, &uid, NULL, NULL, NULL);
if (r < 0)
uid = 0;