test: add minimal integration test coverage for uid0 tool

This commit is contained in:
Lennart Poettering 2023-12-20 19:10:13 +01:00
parent 2118b179ca
commit dd25a95763

View file

@ -227,5 +227,9 @@ B=$(systemd-run -q --wait --pipe -p ProtectProc=invisible cat /proc/version)
assert_eq "$A" "$B"
# Check that invoking the tool under the uid0 alias name works
uid0 ls /
echo "$(uid0 echo foo)" = "foo"
umount /proc/version
rm "$V"