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.


Hmmm, we appear to have different behavior wrto echo. Your
patch changes testit.sh to include an explicit "--", which (when
I last fixed testit.sh like 3 weeks ago) does not appear in the
output I am (and was)  seeing.

I need a functional testit.sh, so I'm gonna wait for popt-1.14
release before wrestling further with the contextual problems
of --echo-args behavior. I have added the tests and the 1 liner
to have -c=foo functionality, just commented out and disabled for now.

73 de Jeff
______________________________________________________________________
POPT Library                                           http://rpm5.org
Developer Communication List                       popt-devel@rpm5.org

Reply via email to