From: Roger Pau Monne Date: Wed, 13 Jun 2018 07:40:14 +0000 (+0200) Subject: osstest: introduce an OS $ho field X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a2e752ec04f95fbd9878436d8414fb163bed57f0;p=people%2Froyger%2Fosstest.git osstest: introduce an OS $ho field 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 --- 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) -----