[autotests/server] Check whether test is run as root

Authored by graesslin on Jul 1 2017, 3:01 PM.

Description

[autotests/server] Check whether test is run as root

If the test is run as root we cannot compare the user id to not be 0.
Thus let's check for that and expect fail.

Details