Re: [TCK] [PATCH] Switch to installation of FC14 image and other fixes

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

 



On 05/06/2011 10:39 AM, Stefan Berger wrote:
Signed-off-by: Stefan Berger<stefanb@xxxxxxxxxxxxxxxxxx>

---
  conf/default.cfg                          |   12 ++--
  conf/ks.cfg                               |    3 -
  lib/Sys/Virt/TCK/NetworkHelpers.pm        |   84 +++++++++++++++++++++++++++---
  scripts/nwfilter/090-install-image.t      |   11 ++-
  scripts/nwfilter/100-ping-still-working.t |    5 -
  scripts/nwfilter/210-no-mac-spoofing.t    |    5 -
  scripts/nwfilter/220-no-ip-spoofing.t     |    5 -
  scripts/nwfilter/230-no-mac-broadcast.t   |    5 -
  scripts/nwfilter/240-no-arp-spoofing.t    |    5 -
  scripts/nwfilter/300-vsitype.t            |    3 -
  10 files changed, 104 insertions(+), 34 deletions(-)

Index: libvirt-tck/lib/Sys/Virt/TCK/NetworkHelpers.pm
===================================================================
--- libvirt-tck.orig/lib/Sys/Virt/TCK/NetworkHelpers.pm
+++ libvirt-tck/lib/Sys/Virt/TCK/NetworkHelpers.pm
@@ -11,12 +11,76 @@ sub get_first_macaddress {

  sub get_ip_from_leases{
      my $mac = shift;
-    my $tmp = `grep $mac /var/lib/dnsmasq/dnsmasq.leases`;
+    my $leasefile = `ps x | sed -n "s/.*dnsmasq.*default.*dhcp-leasefile=\\([/.[:alnum:]]*\\).*/\\1/p"`;

above should be a 'ps ax'...


--
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]