core: rename unit_{start_limit|condition|assert}_test() to unit_test_xyz()

Just some renaming, no change in behaviour.

Background: I'd like to add more functions unit_test_xyz() that test
various things, hence let's streamline the naming a bit.
This commit is contained in:
Lennart Poettering
2019-03-18 16:06:36 +01:00
parent 9e30cf74ce
commit 97a3f4ee05
9 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -2487,7 +2487,7 @@ static int socket_start(Unit *u) {
assert(IN_SET(s->state, SOCKET_DEAD, SOCKET_FAILED));
r = unit_start_limit_test(u);
r = unit_test_start_limit(u);
if (r < 0) {
socket_enter_dead(s, SOCKET_FAILURE_START_LIMIT_HIT);
return r;