Use double brackets for checking path exception list. 55/269055/1 accepted/tizen/unified/20220111.123041 submit/tizen/20220110.203715
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>
Fri, 7 Jan 2022 23:06:38 +0000 (08:06 +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