Skip to content

Commit

Permalink
shell_recorder: newline before UTF character
Browse files Browse the repository at this point in the history
fixes copy&paste problem for konsole
  • Loading branch information
Markus Raab committed Dec 4, 2017
1 parent 59d73b0 commit 7250988
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/shell/shell_recorder/README.md
Expand Up @@ -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:
Expand Down Expand Up @@ -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
```


Expand Down
2 changes: 1 addition & 1 deletion tests/shell/shell_recorder/shell_recorder.sh
Expand Up @@ -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}"
Expand Down

0 comments on commit 7250988

Please sign in to comment.