From: Christian Biesinger <cbiesinger@chromium.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] Use = instead of == for better portability
Date: Sat, 23 May 2020 13:17:29 -0500 [thread overview]
Message-ID: <CAEAp_UjDwsJsd4N+9vn1YSkxd4q35CjNrVErcCALY-OYev3i=w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
Reported by sobukus on IRC.
gdb/testsuite/ChangeLog:
* Makefile.in: Use = instead of = for test for
portability.
---
gdb/testsuite/Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[-- Attachment #2: 0001-Use-instead-of-for-better-portability.patch --]
[-- Type: application/octet-stream, Size: 1227 bytes --]
From 4a39f2fd673b895d26a3aac01c5d4411718c635b Mon Sep 17 00:00:00 2001
From: Christian Biesinger <cbiesinger@google.com>
Date: Sat, 23 May 2020 13:09:16 -0500
Subject: [PATCH] Use = instead of == for better portability
Reported by sobukus on IRC.
gdb/testsuite/ChangeLog:
* Makefile.in: Use = instead of = for test for
portability.
---
gdb/testsuite/Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 0ba2eb42d5..dbe95b3491 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."; \
--
2.26.2
next reply other threads:[~2020-05-23 18:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-23 18:17 Christian Biesinger [this message]
2020-05-23 20:47 ` Tom Tromey
2020-05-24 8:21 ` Tom de Vries
2020-05-26 17:00 ` Christian Biesinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEAp_UjDwsJsd4N+9vn1YSkxd4q35CjNrVErcCALY-OYev3i=w@mail.gmail.com' \
--to=cbiesinger@chromium.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox