cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Last sftp commit may break test 613 and 614

From: James Housley <jim_at_thehousleys.net>
Date: Tue, 10 Jul 2007 19:08:18 -0400

On Jul 10, 2007, at 6:43 PM, Dan Fandrich wrote:

> On Tue, Jul 10, 2007 at 06:30:34PM -0400, James Housley wrote:
>> Last sftp commit may break tests 613 and 614 depending on the
>> version of
>> libssh2 that is used. The problem is that the newest versions of
>> libssh2
>> have the ability to return the whole directory entry string. That
>> string
>> will include user and group names instead of numbers. I don't
>> know enough
>> about the format of the test files to say accept either a string or a
>> number.
>
> Those tests use output files that are heavily post-processed by a perl
> script to ignore a number of potential variables in the directory
> output.
> You should be able to edit the postprocess section of libtest/
> test613.pl
> pretty easily to eliminate whatever isn't already. I'm a bit
> surprised
> to hear that this is a problem because the user and group fields are
> already eliminated (the .{6}? parts of the regex).

Sorry, I only do very basic perl. What is {6} ???

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
                      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Do not meddle in the affairs of dragons, for you are crunchy and taste
     good with ketchup.
Received on 2007-07-11