From a2e752ec04f95fbd9878436d8414fb163bed57f0 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Wed, 13 Jun 2018 09:40:14 +0200 Subject: [PATCH] osstest: introduce an OS $ho field MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In order to differentiate between FreeBSD and Debian hosts. Signed-off-by: Roger Pau Monné Acked-by: Ian Jackson --- Changes since v7: - s/Os/OS/. Changes since v6: - New in this version --- Osstest/TestSupport.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index fbe301c..5383692 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -986,6 +986,7 @@ sub selecthost ($) { $ho->{Suite} = target_var($ho, "suite") // $c{DebianSuite}; $ho->{DiVersion} = target_var($ho, "di_version") // cfg_tftp_di_version($ho->{Suite}); + $ho->{OS} = target_var($ho, "os") // "debian"; } #----- handle hosts which are themselves guests (nested) ----- -- 2.39.5