From 8afa71d965815d118227929bf586921698fe04f8 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 26 May 2015 19:30:02 +0100 Subject: [PATCH] Fix test script return value check to be more POSIX compliant --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index 65e8808b..ed8acf33 100755 --- a/test/run +++ b/test/run @@ -43,7 +43,7 @@ main() { " ${test}/../src/kak out -n -u -e "$kak_commands" retval=$? - if (( retval != 0 )); then + if [ $retval -ne 0 ]; then echo "Kakoune returned error $retval" fi for expect in $test_files; do