summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/morph7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/morph b/tests/morph
index 3554a2c8..8ba3ae78 100755
--- a/tests/morph
+++ b/tests/morph
@@ -19,6 +19,11 @@
set -eu
+fatalcat(){
+ cat "$1" 1>&2
+ return 1
+}
+
PATH="$(pwd):$PATH"
./morph --no-default-config --config="$DATADIR/morph.conf" "$@" || \
- cat "$DATADIR/morph.log" 1>&2
+ fatalcat "$DATADIR/morph.log"