diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-08 22:12:07 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-08 22:12:07 +0900 |
| commit | 2786611b88188702c8bcd0cd36ab5c331d36204f (patch) | |
| tree | fee18b097213dfc00ce2fc6033d2d34d8892969c | |
| parent | 791a1dfa55a7b20d4c17361940d4c17d5688955a (diff) | |
test/interactive: add app with bad daemon
This is useful for testing daemon error handling behaviour.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | test/interactive/hakurei.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/interactive/hakurei.nix b/test/interactive/hakurei.nix index 9b37bc73..96f014ce 100644 --- a/test/interactive/hakurei.nix +++ b/test/interactive/hakurei.nix @@ -18,6 +18,30 @@ pipewire = false; }; }; + + "cat.gensokyo.extern.foot.badDaemon" = { + name = "bd-foot"; + identity = 1; + shareUid = true; + verbose = true; + share = pkgs.foot; + packages = [ pkgs.foot ]; + command = "foot"; + enablements = { + dbus = false; + }; + extraPaths = [ + { + type = "daemon"; + dst = "/proc/nonexistent"; + path = "/bin/sh"; + args = [ + "-lc" + "sleep 1 && false" + ]; + } + ]; + }; }; extraHomeConfig.home.stateVersion = "23.05"; |
