From ff79860fdd2a169c5ca3f1856e8f27d6f4ed38bf Mon Sep 17 00:00:00 2001 From: "LUONG HONG DUY KHANH(RBVH/ENG42)" Date: Wed, 10 Jun 2020 16:40:05 +0700 Subject: gtest_dlt_daemon_gateway: correct comparison operator syntax Signed-off-by: LUONG HONG DUY KHANH(RBVH/ENG42) --- tests/gtest_dlt_daemon_gateway.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gtest_dlt_daemon_gateway.sh b/tests/gtest_dlt_daemon_gateway.sh index 4d952e5..5b7951d 100755 --- a/tests/gtest_dlt_daemon_gateway.sh +++ b/tests/gtest_dlt_daemon_gateway.sh @@ -154,7 +154,7 @@ setupTest() return 1 fi - if [ $# -eq 1 ] && [ "$1" == "1" ] + if [ $# -eq 1 ] && [ "$1" = "1" ] then echo "[General]" >>$tmpPath/dlt_gateway.conf echo "Interval=1">>$tmpPath/dlt_gateway.conf @@ -243,7 +243,7 @@ fi echo "Initializing test" -if [ $# -eq 1 ] && [ "$1" == "-w" ] +if [ $# -eq 1 ] && [ "$1" = "-w" ] then echo "Including General section in dlt_gateway.conf" setupTest 1 -- cgit v1.2.1