summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLUONG HONG DUY KHANH(RBVH/ENG42) <KHANH.LUONGHONGDUY@vn.bosch.com>2020-06-10 16:40:05 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-07-06 10:04:07 +0900
commitff79860fdd2a169c5ca3f1856e8f27d6f4ed38bf (patch)
tree22949375184519537d6f39149a93eefab02a8e49
parentde0c990bbfebf0458db5ece18d0d7722cb65ca1d (diff)
downloadDLT-daemon-ff79860fdd2a169c5ca3f1856e8f27d6f4ed38bf.tar.gz
gtest_dlt_daemon_gateway: correct comparison operator syntax
Signed-off-by: LUONG HONG DUY KHANH(RBVH/ENG42) <KHANH.LUONGHONGDUY@vn.bosch.com>
-rwxr-xr-xtests/gtest_dlt_daemon_gateway.sh4
1 files 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