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

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



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


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