Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Question about args.exp test
@ 2004-04-21 18:33 Corinna Vinschen
  2004-04-21 19:19 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Corinna Vinschen @ 2004-04-21 18:33 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-04-22 14:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-21 18:33 Question about args.exp test Corinna Vinschen
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox