summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-11-27 17:14:24 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-12-01 15:40:19 +0100
commit472e3cce6e37ad6d0617c1377ce967e14ce879f8 (patch)
tree6916825595dbb71cd990d3b1bdfe3037a1b7c110 /test
parentNEWS: metion changes for networkd (diff)
downloadsystemd-472e3cce6e37ad6d0617c1377ce967e14ce879f8.tar.xz
systemd-472e3cce6e37ad6d0617c1377ce967e14ce879f8.zip
TEST-13-NSPAWN: enable debugging logs by nspawn run by systemd-run
Otherwise, it is hard to debug issue #35209.
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/TEST-13-NSPAWN.nspawn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/TEST-13-NSPAWN.nspawn.sh b/test/units/TEST-13-NSPAWN.nspawn.sh
index 664962f9a0..3120d98bf4 100755
--- a/test/units/TEST-13-NSPAWN.nspawn.sh
+++ b/test/units/TEST-13-NSPAWN.nspawn.sh
@@ -1238,7 +1238,7 @@ test_tun() {
# Without DeviceAllow= for /dev/net/tun, see issue #35116.
assert_rc \
"$expect" \
- systemd-run --pty --wait -p DevicePolicy=closed -p DeviceAllow="char-pts rw" \
+ systemd-run --wait -p Environment=SYSTEMD_LOG_LEVEL=debug -p DevicePolicy=closed -p DeviceAllow="char-pts rw" \
systemd-nspawn "$@" bash -xec "$command"
[[ "$(stat /dev/net/tun --format=%u)" == 0 ]]