From: Corinna Vinschen <vinschen@redhat.com>
To: gdb@sources.redhat.com
Subject: Question about args.exp test
Date: Wed, 21 Apr 2004 18:33:00 -0000 [thread overview]
Message-ID: <20040421164040.GS1307@cygbert.vinschen.de> (raw)
Hi,
that's perhaps a dumb question but I don't understand what gdb.base/args.exp
is testing in case of the 2nd and 3rd test.
Both tests are, according to the comment, testing to give empty arguments
to the inferior. The args application just prints argc and the whole
argv vector unchanged to stdout.
Well, that's ok, but I don't understand this:
args.exp does not test the empty arguments being empty, but instead it
tests if '', two apostrophes, are printed. But that's not what the
args application prints. It just prints the empty string and a \n.
I'm just looking for arm and the arm simulator returns actually empty
lines where the empty arguments are printed. That looks correct to me,
but the tests fail, due to the missing ''.
Why is args.exp expecting two apostrophes and who's supposed to add them?
The args testapplication apparently isn't.
Corinna
next reply other threads:[~2004-04-21 16:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-21 18:33 Corinna Vinschen [this message]
2004-04-21 19:19 ` Daniel Jacobowitz
2004-04-22 8:07 ` Corinna Vinschen
2004-04-22 14:20 ` Daniel Jacobowitz
2004-04-22 14:27 ` Andrew Cagney
2004-04-22 14:30 ` Daniel Jacobowitz
2004-04-22 15:19 ` Andrew Cagney
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=20040421164040.GS1307@cygbert.vinschen.de \
--to=vinschen@redhat.com \
--cc=gdb@sources.redhat.com \
/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