diff --git a/libcxx/test/testit b/libcxx/test/testit index a7423645d5af..18b081453604 100755 --- a/libcxx/test/testit +++ b/libcxx/test/testit @@ -12,7 +12,7 @@ currentpath=`pwd` origpath=$currentpath currentdir=`basename $currentpath` while [ $currentdir != "test" ]; do - if [ $currentdir == "/" ] + if [ $currentdir = "/" ] then echo "current directory must be in or under \"test\"." exit 1