Do not use echo -n in test runner, -n is not standard

This commit is contained in:
Maxime Coste 2016-03-08 23:55:15 +00:00
parent 84a1796a48
commit 79782fb903

View File

@ -52,7 +52,7 @@ main() {
write out
quit!
"
session="kak-test-$(echo -n "$dir" | sed -e 's+^\./++; s+/+-+g')"
session="kak-test-$(printf '%s' "$dir" | sed -e 's+^\./++; s+/+-+g')"
rm -f /tmp/kakoune/$USER/$session
${test}/../src/kak out -n -s "$session" -ui json -e "$kak_commands" > display
retval=$?