Replace = with == in bash string tests