v='*.tests'
[[ *.tests ]]; echo 1:YES:$?
[[ $v ]]; echo 2:YES:$?