mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +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…
Reference in a new issue