Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@gnu.org>
To: gdb-patches@sources.redhat.com
Cc: nickrob@snap.net.nz
Subject: [PATCH] Fix broken interp.exp testcase
Date: Mon, 07 Feb 2005 14:40:00 -0000	[thread overview]
Message-ID: <200502070242.j172gsSd020197@copland.sibelius.xs4all.nl> (raw)

[ Argh... no gdb-patches alias on my laptop. ]

The new testcase is failing for me:

Running ../../../src/gdb/testsuite/gdb.base/interp.exp ...
PASS: gdb.base/interp.exp: interpreter-exec mi "-var-update *"
FAIL: gdb.base/interp.exp: interpreter-exec console "show version"

I committed the attached patch to fix it.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* gdb.base/interp.exp: Remove trailing \n in gdb_test commands.

Index: gdb.base/interp.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/interp.exp,v
retrieving revision 1.1
diff -u -p -r1.1 interp.exp
--- gdb.base/interp.exp 2 Feb 2005 21:12:03 -0000 1.1
+++ gdb.base/interp.exp 7 Feb 2005 02:36:14 -0000
@@ -22,7 +22,7 @@ if $tracelevel then {
 
 gdb_start
 
-gdb_test "interpreter-exec mi \"-var-update *\"\n" "\\^done,changelist=[].*"
-gdb_test "interpreter-exec console \"show version\"\n" "GNU gdb .*"
+gdb_test "interpreter-exec mi \"-var-update *\"" "\\^done,changelist=[].*"
+gdb_test "interpreter-exec console \"show version\"" "GNU gdb .*"
 
 gdb_exit


             reply	other threads:[~2005-02-07  2:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07 14:40 Mark Kettenis [this message]
     [not found] <200502070239.j172dpjJ009250@copland.sibelius.xs4all.nl>
2005-02-07 17:09 ` Nick Roberts
2005-02-07 20:20   ` M.M. Kettenis

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=200502070242.j172gsSd020197@copland.sibelius.xs4all.nl \
    --to=kettenis@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=nickrob@snap.net.nz \
    /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