Re: [PATCH] [TCK] Install nwfilter test files and script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]