From: Ian Campbell Subject: [PATCH OSSTEST] Debian: Avoid uninitialised string warn when getting host firmware property Date: Mon, 21 Sep 2015 16:14:30 +0100 Message-ID: <1442848470-9042-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 8675922..a8b62ca 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1169,7 +1169,7 @@ END preseed_microcode($ho,$sfx); - if (get_host_property($ho, "firmware") eq "uefi") { + if (get_host_property($ho, "firmware",'') eq "uefi") { die unless $ho->{Suite} =~ m/jessie/; # Prevent grub-install from making a new Debian boot entry, so # we always reboot from PXE. Debian bug #789798 proposes a -- 2.5.1