Skip to content

Only run system tests as root in developer mode

Running system tests with root privileges is potentially dangerous. Only allow it when explicitly requested by building with --enable-developer.

Background:

Instead of further tweaking the UID switching test (which is tedious to get right because of all the "host scenarios" we need to account for), prevent it from being run altogether unless --enable-developer is used.

Edited by Michał Kępień

Merge request reports