os-cmpi-xen

view test/run-test.sh @ 121:4868ace2726b

Add initial consistence checks in test suite for Xen_MemoryPool, Xen_ProcessorPool and Xen_VirtualSystemManagementService.

Signed-off-by: Luke Szymanski <Lukasz.Szymanski@Unisys.com>
author Jim Fehlig <jfehlig@novell.com>
date Fri Jun 08 10:22:05 2007 -0600 (2007-06-08)
parents eed587b5cd47
children be22f410b2a3
line source
1 #! /bin/bash
2 # Author: Luke Szymanski <Lukasz.Szymanski@Unisys.com>
3 # Contributors:
4 # Description: Run sblim-test suite with Xen CIM providers
5 #
6 # Copyright (C) 2007 Unisys Corporation
7 #
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2.1 of the License, or (at your option) any later version.
12 #
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Lesser General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this library; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #
23 cp instance_provider_list sblim-test-suite/instance_provider_list
24 CMPI_TEST_PATH=`pwd`
25 cd sblim-test-suite
27 echo 'Starting instance provider tests ...'
29 cat instance_provider_list | \
30 while read line
31 do
32 echo Starting $line test ...
33 ./run.sh $line >> $CMPI_TEST_PATH/instance_provider_results 2>/dev/null
34 done
36 echo 'Done executing instance provider tests. Results are in file instance_provider_results.'
37 echo '-----------------------------------------------------------'
38 rm instance_provider_list
39 cd ..
41 echo 'Starting association provider tests ...'
42 cp association_provider_list sblim-test-suite/association_provider_list
43 cd sblim-test-suite
44 cat association_provider_list | \
45 while read line
46 do
47 echo Starting $line test ...
48 ./run.sh $line >> $CMPI_TEST_PATH/association_provider_results 2>/dev/null
49 done
51 echo 'Done. Results are in file association_provider_results.'
52 rm association_provider_list