1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 12:10:59 +01:00

Add some tests for illegal output names

(cherry picked from commit 1ebfa6ba2d)
This commit is contained in:
Eelco Dolstra 2023-01-18 14:21:17 +01:00 committed by github-actions[bot]
parent 9ccde7ec9f
commit a7e6bb7fd4
3 changed files with 15 additions and 2 deletions

View file

@ -83,3 +83,6 @@ nix-store --gc --keep-derivations --keep-outputs
nix-store --gc --print-roots
rm -rf $NIX_STORE_DIR/.links
rmdir $NIX_STORE_DIR
nix build -f multiple-outputs.nix invalid-output-name-1 2>&1 | grep 'contains illegal character'
nix build -f multiple-outputs.nix invalid-output-name-2 2>&1 | grep 'contains illegal character'