From ba9d951b28393187dbd39c3b7a65c3a915ed9389 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 26 Dec 2020 18:35:40 +0100 Subject: [PATCH] sh: compare strings but not illegal numbers occurs when IN_TY_TEST_UI is not defined --- tests/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.sh b/tests/utils.sh index f65f2016..69f0a61b 100644 --- a/tests/utils.sh +++ b/tests/utils.sh @@ -3,7 +3,7 @@ test_sleep() { #only sleep when running the test within terminology with test ui on - if [ "$IN_TY_TEST_UI" -eq "1" ]; then + if [ "$IN_TY_TEST_UI" = "1" ]; then sleep "$1" fi }