diff options
author | Christian Biesinger via Gdb-patches <gdb-patches@sourceware.org> | 2020-05-26 11:58:04 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2020-05-26 11:59:27 -0500 |
commit | 0db49895f30daea6edcc57e4c5003fd02a747c2b (patch) | |
tree | 811f533017f77b285e38df203f9760b455453ca0 /gdb | |
parent | 57b179405a64cc368987f24f76a7d65d40f9982e (diff) | |
download | binutils-0db49895f30daea6edcc57e4c5003fd02a747c2b.zip binutils-0db49895f30daea6edcc57e4c5003fd02a747c2b.tar.gz binutils-0db49895f30daea6edcc57e4c5003fd02a747c2b.tar.bz2 |
Use = instead of == for better portability
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
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/Makefile.in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5c29730..50473fc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in index 0ba2eb4..dbe95b3 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."; \ |