From patchwork Sun Jun 14 01:13:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Galvan X-Patchwork-Id: 7160 Received: (qmail 61074 invoked by alias); 14 Jun 2015 01:13:31 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 59515 invoked by uid 89); 14 Jun 2015 01:13:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f178.google.com Received: from mail-qk0-f178.google.com (HELO mail-qk0-f178.google.com) (209.85.220.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 14 Jun 2015 01:13:29 +0000 Received: by qkdm188 with SMTP id m188so14582338qkd.1 for ; Sat, 13 Jun 2015 18:13:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=bQjgBurQTZFg+z80O+Pk8kpjXWRaOZIyRg95fwlOpP0=; b=jUdUcQyXqLggUFeEm5eITc52pWXJD3H/rk4xRUAePsebMiKN3FYjZUDQwqwyjScKJI pLPLGOAynOLoBld/POWif7r/MRD70dmy0+Zsh29FTg6EcMBkkqoIDpR9QQXpvWaEfO5p pr5C8AyxrbK0gqrmA0zMDOn0FjsVW3X0ZpqjmpPZOvyWN6JMlIMpwHbpr0lqhVEkv3us vsrPPUAfFKqhepsvDGNvM4G6Qvv7vXad/GrhDOksZt/RUpTCKFCHYgQuu4LQviIzx2er PfmyJP1VMO04hk7J87PCiqOx6Hr2dSiZMxH9v/75TqULYAWeFn0uXh2SxGgQ1X9YYqco VMJg== X-Gm-Message-State: ALoCoQkmpcBFyViGlYQD4XTybrK6P9e34eu6Rdb8OL8YxUomCZqb4Hh8XrKcm9iswRdMpseu6iaS X-Received: by 10.55.17.95 with SMTP id b92mr45321159qkh.16.1434244407071; Sat, 13 Jun 2015 18:13:27 -0700 (PDT) Received: from localhost.localdomain ([181.31.101.84]) by mx.google.com with ESMTPSA id o66sm1062176qkh.25.2015.06.13.18.13.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 13 Jun 2015 18:13:26 -0700 (PDT) From: Martin Galvan To: gdb-patches@sourceware.org Subject: [PATCH] Escape a loose '[' character inside a regexp. Date: Sat, 13 Jun 2015 22:13:19 -0300 Message-Id: <1434244399-16630-1-git-send-email-martin.galvan@tallertechnologies.com> Seems like an obvious fix to me, but I wanted to check just in case. Ok to commit? --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/lib/gdb.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e01f883..95338b3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-06-13 Martin Galvan + + * lib/gdb.exp (test_class_help): Escape a loose '['. + 2015-06-12 Antoine Tremblay PR breakpoints/16465 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 41797e7..2be9ba4 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -4674,7 +4674,7 @@ proc test_class_help { command_class expected_initial_lines args } { set l_stock_body { "List of commands\:.*\[\r\n\]+" "Type \"help\" followed by command name for full documentation\.\[\r\n\]+" - "Type \"apropos word\" to search for commands related to \"word\"\.[\r\n\]+" + "Type \"apropos word\" to search for commands related to \"word\"\.\[\r\n\]+" "Command name abbreviations are allowed if unambiguous\." } set l_entire_body [concat $expected_initial_lines $l_stock_body]