From f09133a224fabf2d16c7790654e39068cb59450f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 22 Sep 2025 21:56:29 +0900 Subject: test: check init lingering timeout behaviour This checks init timeout on lingering process after initial process termination. Signed-off-by: Ophestra --- test/configuration.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'test/configuration.nix') diff --git a/test/configuration.nix b/test/configuration.nix index b7970dd9..39fd166c 100644 --- a/test/configuration.nix +++ b/test/configuration.nix @@ -112,7 +112,31 @@ }; }; + commonPaths = [ + { + type = "bind"; + src = "/var/tmp"; + write = true; + } + ]; + apps = { + "cat.gensokyo.extern.bash.linger-timeout" = { + name = "hakurei-check-linger-timeout"; + identity = 9999; + share = pkgs.bash; + packages = [ pkgs.bash ]; + command = '' + sleep infinity & disown + exit + ''; + wait_delay = 1; + enablements = { + wayland = false; + pulse = false; + }; + }; + "cat.gensokyo.extern.foot.noEnablements" = { name = "ne-foot"; identity = 1; -- cgit v1.3.1