From a76bc9fe87294fd73030bceb219fca380570e9f4 Mon Sep 17 00:00:00 2001 From: Douglas Katzman Date: Mon, 17 Feb 2020 11:29:11 -0500 Subject: [PATCH] Use numeric comparison where intended --- tests/init.test.sh | 2 +- tests/save6.test.sh | 2 +- tests/save7.test.sh | 2 +- tools-for-build/grovel-features.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/init.test.sh b/tests/init.test.sh index 466c68747..eed9be51e 100644 --- a/tests/init.test.sh +++ b/tests/init.test.sh @@ -29,7 +29,7 @@ run_sbcl < /dev/null 2>&1 && echo "input" | ./$bin> /dev/null 2>&1 - if [ "$?" = 104 ] + if [ "$?" -eq 104 ] then printf " :$1" fi