mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
test illegal reference specifier error message
This commit is contained in:
parent
2b4d461c14
commit
f4def47c89
2 changed files with 10 additions and 0 deletions
|
@ -60,3 +60,7 @@ if ! isTestOnNixOS; then
|
|||
fi
|
||||
|
||||
fi
|
||||
|
||||
# test12 should fail (syntactically invalid).
|
||||
expectStderr 1 nix-build -vvv -o "$RESULT" check-refs.nix -A test12 >"$TEST_ROOT/test12.stderr"
|
||||
grepQuiet -F "output check for 'lib' contains an illegal reference specifier 'dev', expected store path or output name (one of [lib, out])" < "$TEST_ROOT/test12.stderr"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue