mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 09:32:04 +00:00
test: add minimal integration test coverage for uid0 tool
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user