]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: avoid starting/stopping unwanted units during fuzzing
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 28 Dec 2023 22:42:47 +0000 (23:42 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 29 Dec 2023 20:26:49 +0000 (21:26 +0100)
commita66031255ffd3df588db29155dc31b20a47b55bb
tree957c43ff81ecc154b589ef511dceee0cbdf53bad
parentbcdb5d4c0bc031cbc789942329a6cc84862730a0
test: avoid starting/stopping unwanted units during fuzzing

Skip calling start and stop methods on unit objects, as doing that is
not only time consuming, but it also starts/stops units that interfere
with the machine state. The actual code paths should be covered (to some
degree) by the respective method counterparts on the manager object.
test/units/testsuite-21.sh