test: rewrite test-exec-deserialization.py
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 2 Jan 2024 17:27:45 +0000 (18:27 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 23:40:55 +0000 (08:40 +0900)
commit995bf013a1959d4fb5aed8b135740490888fc196
tree4350e84cc1ee64b7880f2c7cb698497c859b6999
parent0e3638380d195bb85cfc4199376f460a2eff62d3
test: rewrite test-exec-deserialization.py

Rewrite the test in bash and make it part of our integration test suite,
so it's actually executed in all our upstream CI environments.

The original test is flaky in environments where daemon-reload might
occur during the test runtime (e.g. when running the test in parallel
with the systemd-networkd test suite). Also, it was run only in CentOS
CI in limited way (i.e. without sanitizers), since it tests the host's
systemd, instead of the just built one.

Resolves: #29943
test/test-exec-deserialization.py [deleted file]
test/units/testsuite-07.exec-deserialization.sh [new file with mode: 0755]