mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
tests/functional: Differentiate die and fail
This commit is contained in:
parent
602c444411
commit
d4ca634508
@ -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…
Reference in New Issue
Block a user