From: Christian Biesinger via Gdb-patches Date: Tue, 26 May 2020 16:58:04 +0000 (-0500) Subject: Use = instead of == for better portability X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0db49895f30daea6edcc57e4c5003fd02a747c2b;p=binutils-gdb.git Use = instead of == for better portability Reported by sobukus on IRC. gdb/testsuite/ChangeLog: 2020-05-26 Christian Biesinger * Makefile.in: Use = instead of == for the test command for portability. Change-Id: I431ccfa5e5ba15f9af082ffd6aa8cd7046456cd2 --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5c297306d2a..50473fc96e8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-05-26 Christian Biesinger + + * Makefile.in: Use = instead of == for the test command + for portability. + 2020-05-26 Tom de Vries * gdb.base/gold-gdb-index-2.c: New test. diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in index 0ba2eb42d5a..dbe95b34915 100644 --- a/gdb/testsuite/Makefile.in +++ b/gdb/testsuite/Makefile.in @@ -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."; \