X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-path.c;h=2063ed25439545444269cccd3874a56368c5de2d;hb=fe21f16764147d51819a904d57ac36967f9913e3;hp=29b187a42303b5e448c2a1d12e354125f571a46c;hpb=bc9992978cd1456b5bb79e72e8cf7a2331d3a7c6;p=elogind.git diff --git a/src/test/test-path.c b/src/test/test-path.c index 29b187a42..2063ed254 100644 --- a/src/test/test-path.c +++ b/src/test/test-path.c @@ -81,7 +81,7 @@ static void check_stop_unlink(Manager *m, Unit *unit, const char *test_path, con 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; @@ -104,7 +104,6 @@ static void check_stop_unlink(Manager *m, Unit *unit, const char *test_path, con } 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); }