Use = instead of == for better portability
authorChristian Biesinger via Gdb-patches <gdb-patches@sourceware.org>
Tue, 26 May 2020 16:58:04 +0000 (11:58 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Tue, 26 May 2020 16:59:27 +0000 (11:59 -0500)
Reported by sobukus on IRC.

gdb/testsuite/ChangeLog:

2020-05-26  Christian Biesinger  <cbiesinger@google.com>

        * Makefile.in: Use = instead of == for the test command
        for portability.

Change-Id: I431ccfa5e5ba15f9af082ffd6aa8cd7046456cd2

gdb/testsuite/ChangeLog
gdb/testsuite/Makefile.in

index 5c297306d2a23fde93e937f7d98034f75ae6d912..50473fc96e89b3ce96e1cc9d1d16103e237981df 100644 (file)
@@ -1,3 +1,8 @@
+2020-05-26  Christian Biesinger  <cbiesinger@google.com>
+
+       * Makefile.in: Use = instead of == for the test command
+       for portability.
+
 2020-05-26  Tom de Vries  <tdevries@suse.de>
 
        * gdb.base/gold-gdb-index-2.c: New test.
index 0ba2eb42d5a386b638f53c200c30216be0fe7044..dbe95b3491571a7e415d4d84aa9d4d1235ae38ff 100644 (file)
@@ -209,7 +209,7 @@ check-single-racy:
        -rm -rf cache racy_outputs temp
        mkdir -p racy_outputs; \
        racyiter="$(RACY_ITER)"; \
-       test "x$$racyiter" == "x" && \
+       test "x$$racyiter" = "x" && \
          racyiter=$(DEFAULT_RACY_ITER); \
        if test $$racyiter -lt 2 ; then \
          echo "RACY_ITER must be at least 2."; \
@@ -239,7 +239,7 @@ check-parallel:
 check-parallel-racy:
        -rm -rf cache racy_outputs temp
        racyiter="$(RACY_ITER)"; \
-       test "x$$racyiter" == "x" && \
+       test "x$$racyiter" = "x" && \
          racyiter=$(DEFAULT_RACY_ITER); \
        if test $$racyiter -lt 2 ; then \
          echo "RACY_ITER must be at least 2."; \