Do not use echo -n in test runner, -n is not standard
This commit is contained in:
parent
84a1796a48
commit
79782fb903
2
test/run
2
test/run
|
@ -52,7 +52,7 @@ main() {
|
||||||
write out
|
write out
|
||||||
quit!
|
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
|
rm -f /tmp/kakoune/$USER/$session
|
||||||
${test}/../src/kak out -n -s "$session" -ui json -e "$kak_commands" > display
|
${test}/../src/kak out -n -s "$session" -ui json -e "$kak_commands" > display
|
||||||
retval=$?
|
retval=$?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user