diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 1be110da6..f97f0870d 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -862,7 +862,7 @@ need_grep= case "$FILTER" in '^$') simple_filter=;; '.*') simple_filter='*';; - *[][\$^+*?{|}]*) # Regexp special characters (other than .), we need grep + *[][$+*?\\^{\|}]*) # Regexp special characters (other than .), we need grep need_grep=1;; *) # No regexp or shell-pattern special character simple_filter="*$FILTER*";; @@ -870,7 +870,7 @@ esac case "$EXCLUDE" in '^$') simple_exclude=;; '.*') simple_exclude='*';; - *[][\$^+*?{|}]*) # Regexp special characters (other than .), we need grep + *[][$+*?\\^{\|}]*) # Regexp special characters (other than .), we need grep need_grep=1;; *) # No regexp or shell-pattern special character simple_exclude="*$EXCLUDE*";;