mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-06 17:05:48 +00:00
The unit tests currently require running as root. This has caused some confusion that justifies adding a root check to `make localunit` and error out for non-root users instead of starting the tests deemed to fail. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
5 lines
114 B
Bash
Executable file
5 lines
114 B
Bash
Executable file
#!/bin/bash
|
|
if ! [ $(id -u) = 0 ]; then
|
|
echo "Please run as root! '$@' requires root privileges."
|
|
exit 1
|
|
fi
|