Re: [PATCH 2/2 v4] Git.pm: add test suite
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 18, 2008, 03:16 UTC
- Message-ID
- <7v63s7301m.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <4db23d5b625de1aa026cf4630d49b57fd3a09d07.1213685306.git.LeWiemann@gmail.com>
Lea Wiemann <lewiemann@gmail.com> writes:
Show 18 quoted lines
> diff --git a/t/t9700/test.pl b/t/t9700/test.pl
> new file mode 100755
> index 0000000..8318fec
> --- /dev/null
> +++ b/t/t9700/test.pl
> @@ -0,0 +1,99 @@
> +#!/usr/bin/perl
> +use lib (split(/:/, $ENV{GITPERLLIB}));
> +
> +use warnings;
> +use strict;
> +
> +use Test::More qw(no_plan);
> +
> +use Cwd;
> +use File::Basename;
> +use File::Temp;
> +use IO::String;The system I first tried this did not have IO::String installed. Is this something we would want to rely on being available?
It also indicates a slight problem in test_external. Can it become a bit easier to tell such a basic problem apart from real test errors? I needed to look into /tmp/* to see where it is failing but it would be nice if we can somehow see the breakage with "sh t9700-*.sh -v".