From: Marcin Skarbek Date: Fri, 5 Jan 2018 01:16:32 +0000 (+0100) Subject: Fixed tests X-Git-Tag: v0.07~14^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F1%2Fhead;p=oweals%2Fdinit.git Fixed tests Fixed tests after start_ps_process and all_deps_stopped rename --- diff --git a/src/tests/test_service.h b/src/tests/test_service.h index 9b3f795..3593cee 100644 --- a/src/tests/test_service.h +++ b/src/tests/test_service.h @@ -11,16 +11,16 @@ class test_service : public service_record } // Do any post-dependency startup; return false on failure - virtual bool start_ps_process() noexcept override + virtual bool bring_up() noexcept override { - // return service_record::start_ps_process(); + // return service_record::bring_up(); return true; } // All dependents have stopped. - virtual void all_deps_stopped() noexcept override + virtual void bring_down() noexcept override { - return service_record::all_deps_stopped(); + return service_record::bring_down(); } // Whether a STARTING service can immediately transition to STOPPED (as opposed to