From fc7c09596a7ed5fea37cf028d62a84434c966737 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sun, 24 Oct 2021 02:23:47 +0200 Subject: [PATCH] =?UTF-8?q?Make=20test=20xt/gitignore.t=20work=20with=20gi?= =?UTF-8?q?t=20releases=20=E2=89=A5=202.32.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 1 + xt/gitignore.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1b92700..f2db1ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sun, 24 Oct 2021 02:02:49 +0200 diff --git a/xt/gitignore.t b/xt/gitignore.t index 5bbda2e..a46faa8 100755 --- a/xt/gitignore.t +++ b/xt/gitignore.t @@ -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;