test: add a simple test for PrivateNetwork=

This commit is contained in:
Yu Watanabe
2023-10-26 19:09:49 +09:00
parent 4793605db1
commit e9af462aba
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
# For issue https://github.com/systemd/systemd/issues/29526
systemd-run -p PrivateNetwork=yes --wait /bin/true