test: add a test to cover restarting services in reloading state

Cover the case where a service is recovered out of reloading state via
a restart Restart= configuration.

Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
This commit is contained in:
Peter Morrow
2021-04-22 09:33:37 +01:00
parent bbe19f6884
commit f209d8f50c
4 changed files with 106 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
../TEST-01-BASIC/Makefile
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
TEST_DESCRIPTION="Test auto restart of exited services which are stuck in reloading state"
TEST_NO_QEMU=1
. $TEST_BASE_DIR/test-functions
do_test "$@" 59