Use double brackets for checking path exception list. 64/269064/1 accepted/tizen/6.5/unified/20220111.122915 submit/tizen_6.5/20220110.203705
authorJin-gyu Kim <jin-gyu.kim@samsung.com>
Fri, 7 Jan 2022 23:06:34 +0000 (08:06 +0900)
committerJin-gyu Kim <jin-gyu.kim@samsung.com>
Sat, 8 Jan 2022 00:34:15 +0000 (09:34 +0900)
- This is needed to avoid the error raised by some exceptional cases.

Change-Id: I833fee25bb563093812ddf1b3492591e9f92f11a

test/path_check_test/path_check.sh

index 50edc4d113bd393acafa9fd8445d6f93eca330c1..ed1a07e840f2f051e7c793dc35ec2b137ce942a7 100644 (file)
@@ -15,7 +15,7 @@ function CHECK_EXCEPTION
 {
        while read exception_list_line
        do
-               if [ "$1" == $exception_list_line ]
+               if [[ "$1" == $exception_list_line ]]
                then
                        return 1
                fi