594167
From a1b8ff570b5ed95697f4748cfe3bbe154802c37e Mon Sep 17 00:00:00 2001
594167
From: Frantisek Sumsal <frantisek@sumsal.cz>
594167
Date: Sat, 2 Jul 2022 05:21:52 +0900
594167
Subject: [PATCH] test: add a simple test for daemon-reexec
594167
594167
(cherry picked from commit d1b1bbfbfa1cb7d225250fc08089d1de17eaef7c)
594167
594167
Related: #2087652
594167
---
594167
 test/units/testsuite-03.sh | 4 ++++
594167
 1 file changed, 4 insertions(+)
594167
594167
diff --git a/test/units/testsuite-03.sh b/test/units/testsuite-03.sh
594167
index 070e978cda..7c5a3b8f19 100755
594167
--- a/test/units/testsuite-03.sh
594167
+++ b/test/units/testsuite-03.sh
594167
@@ -3,6 +3,10 @@
594167
 set -eux
594167
 set -o pipefail
594167
 
594167
+# Simple test for that daemon-reexec works in container.
594167
+# See: https://github.com/systemd/systemd/pull/23883
594167
+systemctl daemon-reexec
594167
+
594167
 # Test merging of a --job-mode=ignore-dependencies job into a previously
594167
 # installed job.
594167