Make test xt/gitignore.t work with git releases ≥ 2.32.0
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -2,6 +2,7 @@ xen-tools (4.9.1-1) UNRELEASED; urgency=medium
|
||||
|
||||
* New upstream bugfix release.
|
||||
+ Fix missing "|" in regex in Debian's 20-setup-apt. (Closes: #997668)
|
||||
+ Make test xt/gitignore.t work with git releases ≥ 2.32.0.
|
||||
|
||||
-- Axel Beckert <abe@debian.org> Sun, 24 Oct 2021 02:02:49 +0200
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ if (which('git') and -d '.git') {
|
||||
use_ok( 'Git' );
|
||||
|
||||
# First, check that no tracked files are ignored
|
||||
my $cmd = Git::command_output_pipe('ls-files', '--ignored', '--exclude-standard');
|
||||
my $cmd = Git::command_output_pipe('ls-files', '--others', '--ignored', '--exclude-standard');
|
||||
my $output;
|
||||
while (<$cmd>) { $output .= "--> $_" }
|
||||
close $cmd;
|
||||
|
||||
Reference in New Issue
Block a user