summaryrefslogtreecommitdiff
path: root/t-func
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-11-08 02:31:01 +0100
committerGuillem Jover <guillem@debian.org>2016-11-09 01:10:28 +0100
commit6ec8b1b4b180015924fb39a6f33d2f7527355324 (patch)
treef4f0acf716042685baefa89eb8e68823e754b26b /t-func
parentb8f8c886d704c4fdaa0303d6311a4a211637a490 (diff)
downloaddpkg-6ec8b1b4b180015924fb39a6f33d2f7527355324.tar.gz
test: Do not fail on missing fakeroot just skip them
Diffstat (limited to 't-func')
-rw-r--r--t-func/atlocal.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/t-func/atlocal.in b/t-func/atlocal.in
index 2fe4b5503..50263fc21 100644
--- a/t-func/atlocal.in
+++ b/t-func/atlocal.in
@@ -27,8 +27,8 @@ if [ "$(id -u)" = 0 ]; then
elif which fakeroot >/dev/null; then
ASROOT=fakeroot
else
- echo "error: cannot run as root(ish)" >&2
- exit 1
+ echo "skip: needs to run as root(ish)" >&2
+ exit 0
fi
export ASROOT