Fix test script return value check to be more POSIX compliant
This commit is contained in:
parent
7cfcb68184
commit
8afa71d965
2
test/run
2
test/run
|
@ -43,7 +43,7 @@ main() {
|
||||||
"
|
"
|
||||||
${test}/../src/kak out -n -u -e "$kak_commands"
|
${test}/../src/kak out -n -u -e "$kak_commands"
|
||||||
retval=$?
|
retval=$?
|
||||||
if (( retval != 0 )); then
|
if [ $retval -ne 0 ]; then
|
||||||
echo "Kakoune returned error $retval"
|
echo "Kakoune returned error $retval"
|
||||||
fi
|
fi
|
||||||
for expect in $test_files; do
|
for expect in $test_files; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user