From 4f1b3d85cc6f7fec9e7fa3479b454d9ed87e951a Mon Sep 17 00:00:00 2001 From: Dmytro Serdiuk Date: Thu, 9 Nov 2017 23:48:58 +0200 Subject: [PATCH] Split log messages by newline symbol intead of space #89 --- src/test/commons.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/commons.bash b/src/test/commons.bash index a41c80f..547ccfd 100755 --- a/src/test/commons.bash +++ b/src/test/commons.bash @@ -9,9 +9,10 @@ export PATH=$MOCK_DIR:$BIN_DIR:$PATH check(){ run "$@" echo "> Exit code: \$status=$status" + local IFS=$'\n' for line in ${lines[@]}; do echo "> stdout+stderr: '$line'" - done + done } # @todo #89 Move 'fake's to separate addons file.