aboutsummaryrefslogtreecommitdiff
path: root/tests/build.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-01-18 14:21:17 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-01-18 14:21:17 +0100
commit1ebfa6ba2d5e6be9eb0d83a89dc4fcb2470e773a (patch)
treeb6ea676ac0a135ba96173f996c449b054ec6f512 /tests/build.sh
parent95cfd50d25bf8f5f969bc1fbdc5fd0b967db670b (diff)
Add some tests for illegal output names
Diffstat (limited to 'tests/build.sh')
-rw-r--r--tests/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/build.sh b/tests/build.sh
index 898c6963a..b6dadb433 100644
--- a/tests/build.sh
+++ b/tests/build.sh
@@ -89,7 +89,7 @@ nix build "$drv^first,second" --no-link --json | jq --exit-status '
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
- (.second | match(".*multiple-outputs-a-second"))))
+ (.second | match(".*multiple-outputs-a-second"))))
'
nix build "$drv^*" --no-link --json | jq --exit-status '
@@ -98,7 +98,7 @@ nix build "$drv^*" --no-link --json | jq --exit-status '
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
- (.second | match(".*multiple-outputs-a-second"))))
+ (.second | match(".*multiple-outputs-a-second"))))
'
# Make sure that `--impure` works (regression test for https://github.com/NixOS/nix/issues/6488)