From: Ian Jackson Date: Thu, 1 Dec 2016 12:52:45 +0000 (+0000) Subject: ts-xtf-*: Provide for host specs on command line X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bb549cf43408d3449821da2314bdac172f2a55f4;p=people%2Fiwj%2Fosstest.git ts-xtf-*: Provide for host specs on command line Without this, it can be hard to use in ad hoc ways. CC: Andrew Cooper Signed-off-by: Ian Jackson Reviewed-by: Wei Liu --- diff --git a/ts-xtf-fep b/ts-xtf-fep index 6f0037a6..91ac3ced 100755 --- a/ts-xtf-fep +++ b/ts-xtf-fep @@ -22,7 +22,9 @@ use Osstest::TestSupport; tsreadconfig(); -our $ho = selecthost('host'); +our ($whhost) = @ARGV; +$whhost ||= 'host'; +our $ho= selecthost($whhost); sub fep_test () { my $output = target_cmd_output_root($ho, <