[libvirt] [PATCH] [TCK] Install nwfilter test files and script

Eric Blake eblake at redhat.com
Thu Oct 21 16:59:12 UTC 2010


On 10/21/2010 10:50 AM, Daniel P. Berrange wrote:
> On Thu, Oct 21, 2010 at 12:48:29PM -0400, Stefan Berger wrote:
>>   The install of the TCK test suite did not install the test script and
>> data. This patch fixes this.
>>
>> Signed-off-by: Stefan Berger<stefanb at us.ibm.com>
>>
>> diff --git a/Build.PL b/Build.PL
>> index fc44af2..2a4de43 100644
>> --- a/Build.PL
>> +++ b/Build.PL
>> @@ -29,7 +29,7 @@ sub process_pkgdata_files {
>>           my $name = $File::Find::name;
>>       if (-d) {
>>           $tck_dirs{$name} = [];
>> -    } elsif (-f&&  /\.t$/) {
>> +    } elsif (-f&&  (/\.t$/ || /\.sh$/ || /\.fwall$/ || /\.xml$/)) {

Is it any better to be more compact with a single regex?

(-f && /\.(t|sh|fwall|xml)$/)

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list