aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/all-tests.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index e255fbe..7f7c6be 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -12,6 +12,45 @@ let
nodes.d.inputs.b = { }; # d->b
nodes.d.inputs.c = { }; # d->c
};
+
+ # A B C D E
+ # \ | / | |
+ # U V W X
+ sunset.dag = {
+ nodes = let
+ abcInputs = {
+ u = {};
+ v = {};
+ };
+ in {
+ a = {
+ request = true;
+ inputs = abcInputs;
+ };
+ b = {
+ request = true;
+ inputs = abcInputs;
+ };
+ c = {
+ request = true;
+ inputs = abcInputs;
+ };
+
+ d = {
+ request = true;
+ inputs.w = {};
+ };
+ e = {
+ request = true;
+ inputs.x = {};
+ };
+
+ u = {};
+ v = {};
+ w = {};
+ x = {};
+ };
+ };
in
builtins.mapAttrs
(