about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/multiple-outputs.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix
index 405999ce7c55..09946137d7c8 100644
--- a/tests/multiple-outputs.nix
+++ b/tests/multiple-outputs.nix
@@ -54,12 +54,13 @@ rec {
 
   cyclic = (mkDerivation {
     name = "cyclic-outputs";
-    outputs = [ "a" "b" ];
+    outputs = [ "a" "b" "c" ];
     builder = builtins.toFile "builder.sh"
       ''
-        mkdir $a $b
+        mkdir $a $b $c
         echo $a > $b/foo
-        echo $b > $a/bar
+        echo $b > $c/bar
+        echo $c > $a/baz
       '';
   }).a;