From 79782fb903822f7060ce1df3222517b62844e61a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 8 Mar 2016 23:55:15 +0000 Subject: [PATCH] Do not use echo -n in test runner, -n is not standard --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index e20eaab0..f213a3b4 100755 --- a/test/run +++ b/test/run @@ -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=$?