summaryrefslogtreecommitdiffstats
path: root/src/test/test-loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-loopback.c')
-rw-r--r--src/test/test-loopback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-loopback.c b/src/test/test-loopback.c
index 48869ae..db6ee0f 100644
--- a/src/test/test-loopback.c
+++ b/src/test/test-loopback.c
@@ -19,6 +19,8 @@ TEST_RET(loopback_setup) {
}
r = loopback_setup();
+ if (ERRNO_IS_NEG_PRIVILEGE(r))
+ return log_tests_skipped("lacking privileges");
if (r < 0)
return log_error_errno(r, "loopback: %m");