]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-13-NSPAWN: Use timeout --foreground in two more places
authorDaan De Meyer <daan@amutable.com>
Thu, 26 Mar 2026 08:01:58 +0000 (09:01 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 Apr 2026 18:35:24 +0000 (20:35 +0200)
test/units/TEST-13-NSPAWN.nspawn-oci.sh
test/units/TEST-13-NSPAWN.nspawn.sh

index 1fd2a5ad76774b30c601215a0e61b69237532772..0d85518a1d39235a02da13eec649ea72edbe1d90 100755 (executable)
@@ -395,7 +395,7 @@ touch /opt/readonly/foo && exit 1
 
 exit 0
 EOF
-timeout 30 systemd-nspawn --oci-bundle="$OCI"
+timeout --foreground 30 systemd-nspawn --oci-bundle="$OCI"
 
 # Test a couple of invalid configs
 INVALID_SNIPPETS=(
index 2868cc54ef354e7e5d55b09d81c26f38baac1a81..47c19f08c01f23fc5b5b125c14f0354df9abb27f 100755 (executable)
@@ -578,7 +578,7 @@ ip link | grep wl-renamed1
 EOF
     fi
 
-    timeout 30 systemd-nspawn --directory="$root"
+    timeout --foreground 30 systemd-nspawn --directory="$root"
 
     # And now for stuff that needs to run separately
     #