From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: [PATCH OSSTEST v2 02/13] Introduce ts-saverestore-support-check Date: Sun, 12 Jul 2015 17:20:25 +0100 Message-ID: <1436718036-7985-3-git-send-email-wei.liu2@citrix.com> References: <1436718036-7985-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZEK0D-0002jg-U4 for xen-devel@lists.xenproject.org; Sun, 12 Jul 2015 16:21:18 +0000 In-Reply-To: <1436718036-7985-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: ian.jackson@eu.citrix.com, Wei Liu , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org We need this script because we're going to separate the concept of save / restore and migration later. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson Acked-by: Ian Campbell --- ts-saverestore-support-check | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 ts-saverestore-support-check diff --git a/ts-saverestore-support-check b/ts-saverestore-support-check new file mode 100755 index 0000000..71514fc --- /dev/null +++ b/ts-saverestore-support-check @@ -0,0 +1,27 @@ +#!/usr/bin/perl -w +# This is part of "osstest", an automated testing framework for Xen. +# Copyright (C) 2015 Citrix Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +use strict qw(vars); +use DBI; +use Osstest; +use Osstest::TestSupport; + +tsreadconfig(); + +our $ho = selecthost($ARGV[0]); + +exit(toolstack($ho)->saverestore_check()); -- 1.9.1