1
0
mirror of synced 2026-01-11 23:42:56 +00:00

Fix unescaped braces (deprecated with Perl 5.22) in t/plugin-checks.t

This commit is contained in:
Axel Beckert 2015-12-23 18:12:30 +01:00
parent 761f324a14
commit cf034d932e
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -9,6 +9,7 @@ xen-tools (4.6.2~dev-1) UNRELEASED; urgency=medium
* Make t/hooks-inittab.t using its own copy of the generic /etc/inittab
for testing instead of using the system one's. (GH#36, should fix
autopkgtest on systems with modified /etc/inittab)
* Fix unescaped braces (deprecated with Perl 5.22) in t/plugin-checks.t.
-- Axel Beckert <abe@debian.org> Sat, 24 Oct 2015 02:37:47 +0200

View File

@ -83,7 +83,7 @@ sub testFile
foreach my $line ( <FILY> )
{
if ( $line =~ /\$CONFIG{[ \t'"]+(.*)[ \t'"]+}/ )
if ( $line =~ /\$CONFIG\{[ \t'"]+(.*)[ \t'"]+\}/ )
{
close( FILY );
return $line;