From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2222 invoked by alias); 18 Oct 2007 10:07:50 -0000 Received: (qmail 2214 invoked by uid 22791); 18 Oct 2007 10:07:49 -0000 X-Spam-Check-By: sourceware.org Received: from 216-129-118-140.cust.layer42.net (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 Oct 2007 10:07:47 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id E27333B977 for ; Thu, 18 Oct 2007 02:55:20 -0700 (PDT) Subject: [OB] fix regular exp in dbx.exp From: Michael Snyder To: gdb-patches@sourceware.org Content-Type: text/plain Date: Thu, 18 Oct 2007 15:26:00 -0000 Message-Id: <1192701876.25099.98.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00445.txt.bz2 2007-10-18 Michael Snyder * gdb.base/dbx.exp: Add missing "-re " operator. Index: gdb.base/dbx.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dbx.exp,v retrieving revision 1.9 diff -p -r1.9 dbx.exp *** gdb.base/dbx.exp 23 Aug 2007 18:14:16 -0000 1.9 --- gdb.base/dbx.exp 18 Oct 2007 10:02:57 -0000 *************** proc test_assign { } { *** 290,296 **** send_gdb "assign first=1\n" gdb_expect { -re "No symbol \"first\" in current context.*$" { fail "assign first" } ! "$gdb_prompt $" { pass "assign first" } timeout { fail "assign first (timeout)" } } gdb_test "print first" ".1 = 1" --- 290,296 ---- send_gdb "assign first=1\n" gdb_expect { -re "No symbol \"first\" in current context.*$" { fail "assign first" } ! -re "$gdb_prompt $" { pass "assign first" } timeout { fail "assign first (timeout)" } } gdb_test "print first" ".1 = 1"