aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures.sh')
-rwxr-xr-xtests/fixtures.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fixtures.sh b/tests/fixtures.sh
index 1b39b45..833df77 100755
--- a/tests/fixtures.sh
+++ b/tests/fixtures.sh
@@ -252,6 +252,12 @@ SH
chmod +x /fixtures/pipe2
echo piped > /fixtures/pipe2-data
+# alt2: like alt, with other outputs, to change a source to.
+mkdir /fixtures/alt2
+cat > /fixtures/alt2/flake.nix <<'NIX'
+{ outputs = _: { greeting = "alt2"; who = "alt2"; }; }
+NIX
+
# noflake: a directory without flake.nix.
mkdir /fixtures/noflake
echo noflake > /fixtures/noflake/README