# HG changeset patch # User root@1089 # Date 1180641929 14400 # Node ID 4031d3ddc39c605a3e6005d08bd4663605d9ccf2 # Parent 30935f3465207bb4057c2e758be889dc65e67b60 Added some files for consistence test Signed-off-by: Luke Szymanski diff -r 30935f346520 -r 4031d3ddc39c test/README --- a/test/README Wed May 30 15:53:46 2007 -0600 +++ b/test/README Thu May 31 16:05:29 2007 -0400 @@ -7,7 +7,8 @@ Interface tests are tests performed on t Interface tests are tests performed on the various provider interfaces, e.g. instance, method, and association. Consistence tests include verifying the corrent number of instances is returned, verifying the property value of a -given instance is correct, and so on. +given instance is correct, and so on. A few property values are checked against +the values of xm info. Currently only a subset of the instance interface tests are implemented: enumInstanceNames diff -r 30935f346520 -r 4031d3ddc39c test/setup-test.sh --- a/test/setup-test.sh Wed May 30 15:53:46 2007 -0600 +++ b/test/setup-test.sh Thu May 31 16:05:29 2007 -0400 @@ -113,4 +113,9 @@ rm ../association_provider_list rm ../association_provider_list rm association_provider_template +# Copy provider_name.system files to the system/linux directory +# These files are for the consistence test +cd ../.. +cp system/* sblim-test-suite/system/linux + echo 'Done.' diff -r 30935f346520 -r 4031d3ddc39c test/system/Xen_MemoryPool.system --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/system/Xen_MemoryPool.system Thu May 31 16:05:29 2007 -0400 @@ -0,0 +1,5 @@ +******************************************************************************** +class : Xen_MemoryPool + +Capacity : -eq -cmd expr `xm info | grep total_memory | sed -e 's/^.*: //g'` '*' 1024 '*' 1024 + diff -r 30935f346520 -r 4031d3ddc39c test/system/Xen_ProcessorPool.system --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/system/Xen_ProcessorPool.system Thu May 31 16:05:29 2007 -0400 @@ -0,0 +1,5 @@ +******************************************************************************** +class : Xen_ProcessorPool + +Capacity : -eq -cmd xm info | grep nr_cpus | sed -e 's/^.*: //' + diff -r 30935f346520 -r 4031d3ddc39c test/system/Xen_VirtualSystemManagementService.system --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/system/Xen_VirtualSystemManagementService.system Thu May 31 16:05:29 2007 -0400 @@ -0,0 +1,5 @@ +******************************************************************************** +class : Xen_VirtualSystemManagementService + +SystemName : -eq -cmd xm info | grep host | sed -e 's/^.*: //g' +