summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xintegration-tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/integration-tests.sh b/integration-tests.sh
index 1be7064e4b..f69614109f 100755
--- a/integration-tests.sh
+++ b/integration-tests.sh
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+if [ "$UID" -ne 0 ]; then
+ echo "WARNING: Not running as root, some tests may fail" >&2
+fi
+
MULLVAD_DIR="$(cd "$(dirname "$0")"; pwd -P)"
pushd "$MULLVAD_DIR"