]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-execute.c
tests: make "test-execute" work in "sudo ninja -C build test" (#7463)
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Nov 2017 21:56:44 +0000 (22:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 24 Nov 2017 21:56:44 +0000 (22:56 +0100)
commit2482f88d2af827ffd361c65e78e7a83450bff892
tree971e1b51bbde04cb48973244c1e3cd7cc4bdc099
parent3d22bc8636b05524a12255781bed6ef5c6afac9d
tests: make "test-execute" work in "sudo ninja -C build test" (#7463)

In this mode USER/LOGNAME still point to the original caller, and our
tests get confused by that.

Follow-up for: #7450
src/test/test-execute.c