test/interactive: add app with bad daemon
All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 40s
Test / Sandbox (race detector) (push) Successful in 41s
Test / Hakurei (push) Successful in 44s
Test / Hakurei (race detector) (push) Successful in 45s
Test / Hpkg (push) Successful in 41s
Test / Flake checks (push) Successful in 1m28s
All checks were successful
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Successful in 40s
Test / Sandbox (race detector) (push) Successful in 41s
Test / Hakurei (push) Successful in 44s
Test / Hakurei (race detector) (push) Successful in 45s
Test / Hpkg (push) Successful in 41s
Test / Flake checks (push) Successful in 1m28s
This is useful for testing daemon error handling behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
791a1dfa55
commit
2786611b88
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user