mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
test: add minimal integration test coverage for uid0 tool
This commit is contained in:
parent
2118b179ca
commit
dd25a95763
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user