Correct the skip count in t/porting/manifest.t. Not that this matters
currently, as the SKIP block holds the last tests in the file, and the script
uses done_testing() instead of a plan up front.
use TestInit 'T'; # T is chdir to the top level
use strict;
-if (! -d '.git' ) {
- print "1..0 # SKIP: not being run from a git checkout\n";
- exit 0;
-}
+require 't/test.pl';
+find_git_or_skip('all');
my $dotslash = $^O eq "MSWin32" ? ".\\" : "./";
system("git log --pretty=fuller | ${dotslash}perl Porting/checkAUTHORS.pl --tap -");
use TestInit 'T'; # T is chdir to the top level
use strict;
-if (! -d '.git' ) {
- print "1..0 # SKIP: not being run from a git checkout\n";
- exit 0;
-}
+require 't/test.pl';
+find_git_or_skip('all');
my $dotslash = $^O eq "MSWin32" ? ".\\" : "./";
}
SKIP: {
- skip("not under git control", 3) unless -d '.git';
+ find_git_or_skip(6);
chomp(my @repo= grep { !/\.gitignore$/ } `git ls-files`);
skip("git ls-files didnt work",3)
if !@repo;