aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/interactive
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-12-08 22:12:07 +0900
committerOphestra <cat@gensokyo.uk>2025-12-08 22:12:07 +0900
commit2786611b88188702c8bcd0cd36ab5c331d36204f (patch)
treefee18b097213dfc00ce2fc6033d2d34d8892969c /test/interactive
parent791a1dfa55a7b20d4c17361940d4c17d5688955a (diff)
test/interactive: add app with bad daemon
This is useful for testing daemon error handling behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/interactive')
-rw-r--r--test/interactive/hakurei.nix24
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";