]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/testsanitizers/test.bash
*.bash: always use the same string equality operator
[gostls13.git] / misc / cgo / testsanitizers / test.bash
index 80de7388f632106c75e6e5ed3f65945aa08dfff6..3debb5499a0bf6116694647c184bef51323b1032 100755 (executable)
@@ -72,7 +72,7 @@ testmsanshared() {
   goos=$(go env GOOS)
   suffix="-installsuffix testsanitizers"
   libext="so"
-  if [ "$goos" == "darwin" ]; then
+  if [ "$goos" = "darwin" ]; then
          libext="dylib"
   fi
   go build -msan -buildmode=c-shared $suffix -o ${TMPDIR}/libmsanshared.$libext msan_shared.go
@@ -135,7 +135,7 @@ testtsanshared() {
   goos=$(go env GOOS)
   suffix="-installsuffix tsan"
   libext="so"
-  if [ "$goos" == "darwin" ]; then
+  if [ "$goos" = "darwin" ]; then
          libext="dylib"
   fi
   go build -buildmode=c-shared $suffix -o ${TMPDIR}/libtsanshared.$libext tsan_shared.go