feature to honor first shutdown request to completion

System Internals / systemd - Jay Burger [fujitsu.com] - 24 June 2020 07:42 UTC

Create unit tests per established norm at position 52

check in_set first before getting unit

a1ba8c5b71 feature to honor first shutdown request to completion
src/core/emergency-action.c | 35 +++++++++++++++++++---------
test/TEST-52-HONORFIRSTSHUTDOWN/Makefile | 16 +++++++++++++
test/TEST-52-HONORFIRSTSHUTDOWN/fini.sh | 10 ++++++++
test/TEST-52-HONORFIRSTSHUTDOWN/test.sh | 19 +++++++++++++++
test/meson.build | 2 ++
test/testsuite-52.units/testsuite-52.service | 6 +++++
test/testsuite-52.units/testsuite-52.sh | 18 ++++++++++++++
test/units/test-honor-first-shutdown.service | 11 +++++++++
test/units/test-honor-first-shutdown.sh | 3 +++
9 files changed, 109 insertions(+), 11 deletions(-)

Upstream: github.com


  • Share