Permalink
Browse files

shell_recorder: newline before UTF character

fixes copy&paste problem for konsole
  • Loading branch information...
markus2330 committed Dec 4, 2017
1 parent 59d73b0 commit 725098856a248147d99f270edcbaa6af8259cc5f
Showing with 5 additions and 3 deletions.
  1. +4 −2 tests/shell/shell_recorder/README.md
  2. +1 −1 tests/shell/shell_recorder/shell_recorder.sh
@@ -61,7 +61,8 @@ does not match
“NaNaNaNaNaNaNa”
shell_recorder /Users/rene/Documents/test.esr RESULTS: 2 test(s) done 2 error(s).
📕 Protocol File: /var/folders/hx/flbncdhj4fs87095gzxvnj3h0000gn/T/elektraenv.XXXXXXXXX.gWyTCr2O
📕
Protocol File: /var/folders/hx/flbncdhj4fs87095gzxvnj3h0000gn/T/elektraenv.XXXXXXXXX.gWyTCr2O
```
. We see that both checks failed. The protocol file at the end of the output contain the real output and return value of the command:
@@ -192,7 +193,8 @@ the protocol file in it’s output:
```
📕 Protocol File: /var/folders/hx/flbncdhj4fs87095gzxvnj3h0000gn/T/elektraenv.XXXXXXXXX.MyZLuGKE
📕
Protocol File: /var/folders/hx/flbncdhj4fs87095gzxvnj3h0000gn/T/elektraenv.XXXXXXXXX.MyZLuGKE
```
@@ -311,7 +311,7 @@ fi
if [ "$EVAL" -eq 0 ] && [ $keepProtocol == 'false' ]; then
rm -f "$OutFile"
else
>&2 printf '\n📕 Protocol File: %s\n' "$OutFile"
>&2 printf '\n📕\nProtocol File: %s\n' "$OutFile"
fi
rm "${TMPFILE}"

0 comments on commit 7250988

Please sign in to comment.