libvir-list-bounces(a)redhat.com wrote on 10/22/2010 01:21:21 PM:
[image removed]
Re: [libvirt] [PATCH] [TCK] Forgot to copy *.fwall.dat file
Eric Blake
to:
Stefan Berger
10/22/2010 01:31 PM
Sent by:
libvir-list-bounces(a)redhat.com
Cc:
libvir-list
On 10/22/2010 11:00 AM, Stefan Berger wrote:
> Move to the format Eric suggested and copy the missing .fwall.dat
file.
>
> Signed-off-by: Stefan Berger <stefanb(a)us.ibm.com>
>
> diff --git a/Build.PL b/Build.PL
> index 2a4de43..97b4140 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$/ || /\.sh$/ || /\.fwall$/ || /\.xml$/)) {
> + } elsif (-f && /\.(t|sh|fwall|xml|fwall\.dat)$/) {
...|fwall(\.dat)?|...
seems more compact still :)
Actually due to an upcoming test for networks I would like to change this
to
+ } elsif (-f && /\.(t|sh|fwall|xml|fwall|dat)$/) {
so that .fwall and .dat files get copied.
ACK, whether or not you choose to further compress things.
Stefan