]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
osstest: introduce an OS $ho field
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 13 Jun 2018 07:40:14 +0000 (09:40 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 21 Jun 2018 15:54:03 +0000 (16:54 +0100)
In order to differentiate between FreeBSD and Debian hosts.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes since v7:
 - s/Os/OS/.

Changes since v6:
 - New in this version

Osstest/TestSupport.pm

index fbe301c9a31b667fc773146b718cb504e7e867f1..53836925984dac37b1fd3a40eb9745cb16a76b3c 100644 (file)
@@ -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) -----