mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
tests/functional: Differentiate die and fail
This commit is contained in:
parent
602c444411
commit
d4ca634508
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ isTestOnNixOS() {
|
|||
}
|
||||
|
||||
die() {
|
||||
echo "fatal error: $*" >&2
|
||||
echo "unexpected fatal error: $*" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@ requireGit() {
|
|||
}
|
||||
|
||||
fail() {
|
||||
echo "$1" >&2
|
||||
echo "test failed: $1" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue