billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=ba9d951b28393187dbd39c3b7a65c3a915ed9389

commit ba9d951b28393187dbd39c3b7a65c3a915ed9389
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Dec 26 18:35:40 2020 +0100

    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 f65f201..69f0a61 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
 }

-- 


Reply via email to