mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: update die
'die' evaluates given string - so \n could be used for multiline error report Also remove debug.log since the command finished properly when we call 'die' Note: we should not call 'die' after lvm command failure.
This commit is contained in:
parent
d6090a10f0
commit
51d3667cb5
@ -25,7 +25,8 @@
|
||||
test -z "$BASH" || set -e -o pipefail
|
||||
|
||||
die() {
|
||||
echo "$@" >&2
|
||||
rm -f debug.log
|
||||
echo -e "$@" >&2
|
||||
return 1
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,8 @@ IFS_NL='
|
||||
'
|
||||
|
||||
die() {
|
||||
echo "$@" >&2
|
||||
rm -f debug.log
|
||||
echo -e "$@" >&2
|
||||
return 1
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user