service = SERVICE(service_unit);
ts = now(CLOCK_MONOTONIC);
- /* We proces events until the service related to the path has been successfully started */
+ /* We process events until the service related to the path has been successfully started */
while(service->result != SERVICE_SUCCESS || service->state != SERVICE_START) {
usec_t n;
int r;
}
assert_se(UNIT_VTABLE(unit)->stop(unit) >= 0);
- assert_se(UNIT_VTABLE(service_unit)->stop(service_unit) >= 0);
rm_rf_dangerous(test_path, false, true, false);
}
log_parse_environment();
log_open();
- /* It is needed otherwise cgroup creation fails */
- if (getuid() != 0)
- return EXIT_TEST_SKIP;
-
assert_se(set_unit_path(TEST_DIR ":") >= 0);
for (test = tests; test && *test; test++) {