[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-list-files-cvs failure?
From: |
Jim Meyering |
Subject: |
Re: vc-list-files-cvs failure? |
Date: |
Wed, 18 Feb 2009 09:40:25 +0100 |
Simon Josefsson <address@hidden> wrote:
> The test-vc-list-files-cvs.sh self test appears to fail on minimal
> debian lenny installations:
>
> http://autobuild.josefsson.org/gnulib/log-200902170434329384000.txt
> http://autobuild.josefsson.org/gnulib/log-200902170444490420000.txt
>
> However it works on debian etch x86:
>
> http://autobuild.josefsson.org/gnulib/log-200902161404242866000.txt
>
> I can't reproduce it using:
>
> gnulib-tool --test --with-tests vc-list-files
>
> on my debian lenny system, but it has many more packages installed and
> has been upgraded from etch, so it may be different.
>
> Looking at the test-vc-list-files-cvs.sh code, it seems to do some
> things different depending on whether 'cvsu' is installed. My system
> indeed has it, but I believe the first two systems do not.
>
> Does the test output ring any bells for anyone?
>
> --- expected 2009-02-17 01:16:46.000000000 -0800
> +++ actual 2009-02-17 01:16:47.000000000 -0800
> @@ -1,3 +1,3 @@
> -b
> -c
> -d/a
> +.b
> +.c
> +da
> --- expected 2009-02-17 01:16:48.000000000 -0800
> +++ actual 2009-02-17 01:16:48.000000000 -0800
> @@ -1,3 +1,3 @@
> -b
> -c
> -d/a
> +.b
> +.c
> +da
> FAIL: test-vc-list-files-cvs.sh
No bell rings here, but it sure looks like it's performing
"sed s,/,," rather than the specified substitution.
That fall-back code relies on gawk, sed and /bin/sh,
so you might try with a different shell, e.g., bash vs. dash,
or inserting "| tee /tmp/log " into the pipeline to see if
the damage is already done before the eval'd "sed" code runs.