git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: failing test t9400 (Re: [PATCH] git-update-ref: add --no-deref option for overwriting/detaching ref)

From
Frank Lichtenheld <frank@lichtenheld.de>
Date
May 9, 2007, 20:27 UTC
Message-ID
<20070509202720.GN30324@planck.djpig.de>
In-Reply-To
<7vr6pqt1fu.fsf@assigned-by-dhcp.cox.net>
On Wed, May 09, 2007 at 09:19:01AM -0700, Junio C Hamano wrote:
Show 8 quoted lines
> Sven Verdoolaege <skimo@kotnet.org> writes:
> > Shouldn't these tests be skipped if I don't have all that stuff installed?
> > There doesn't even seem to be an option to turn off these tests.
> 
> I agree.  We would need something like this, but I have no easy
> way to test it myself, short of uninstalling what I need on the
> box.  As you do not have them, maybe you can give it a quick
> whirl?

Yeah, I totally forgot add such a check, even though I added one for cvs.

Show 10 quoted lines
> ---
> diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh
> index f17be6b..98d6bb4 100755
> --- a/t/t9400-git-cvsserver-server.sh
> +++ b/t/t9400-git-cvsserver-server.sh
> @@ -17,6 +17,11 @@ then
>      test_done
>      exit
>  fi
> +perl -e 'use DBI; use DBD::SQLite' 2>&1 || {
Maybe there is a >/dev/null missing here?

I personally would prefer "perl -MDBI -MDBD::SQLite" stylewise, but I guess it makes no difference in the end.

> +    test_expect_success 'skipping git-cvsserver tests, Perl SQLite interface unavailable' :
> +    test_done
> +    exit
> +}
Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
Previous: Sven VerdoolaegeNext: Junio C Hamano
Message 8 of 10 in “git-update-ref: add --no-deref option for overwriting/detaching ref”
  1. git-update-ref: add --no-deref option for overwriting/detaching refSven Verdoolaege, May 9, 2007
  2. Petr BaudisMay 9, 2007
  3. Sven VerdoolaegeMay 9, 2007
  4. Junio C HamanoMay 9, 2007
  5. failing test t9400 (Re: [PATCH] git-update-ref: add --no-deref option for overwriting/detaching ref)Sven Verdoolaege, May 9, 2007
  6. Junio C HamanoMay 9, 2007
  7. Sven VerdoolaegeMay 9, 2007
  8. Frank LichtenheldMay 9, 2007
  9. Junio C HamanoMay 9, 2007
  10. Johannes SchindelinMay 9, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.