On Mar 8, 2008, at 12:56 PM, Wayne Davison wrote:
On Sat, Mar 08, 2008 at 12:10:52PM -0500, Jeff Johnson wrote:
Test "test1 -2 foo" failed with: "arg1: 0 arg2: rest: foo" != "arg1:
0 arg2: foo"
I'm not seeing that error with the CVS version. I do note that my
prior
patch to fix the longArg pointer (e.g. "./test1 -2foo=bar") isn't
there,
but even commenting out that fix doesn't get test 9 to fail for me. I
did see failures for tests 19-23 due to the --echo-args macro now
outputting an extra "--" at the start. The attached patch fixes this,
and also adds two new tests to check that the changed equal-handling
works right.
Those tests were run from a freshly built CVS from HEAD. But
perhaps I've tricked myself somehow. Lemme study a bit while
merging in this patch.
Hmmm, I was seeing exactly the opposite, --echo-args was failing
until I added the "--" argument separator a couple of weeks ago.
73 de Jeff
______________________________________________________________________
POPT Library http://rpm5.org
Developer Communication List [email protected]