diff options
author | 2007-01-26 13:10:28 +0000 | |
---|---|---|
committer | 2007-01-26 13:10:28 +0000 | |
commit | b00f4ceb2bc886071e276aa84ec2faf49b5f2ad2 (patch) | |
tree | 3edda8b071b337183fe54c9cf92e8ea5761d1f9d /tests | |
parent | Added vncdisplay & console commands to virsh (diff) | |
download | libvirt-b00f4ceb2bc886071e276aa84ec2faf49b5f2ad2.tar.gz libvirt-b00f4ceb2bc886071e276aa84ec2faf49b5f2ad2.tar.bz2 libvirt-b00f4ceb2bc886071e276aa84ec2faf49b5f2ad2.zip |
Fixed virsh test suite
Diffstat (limited to 'tests')
-rw-r--r-- | tests/virshdata/domid-fc4.txt | 2 | ||||
-rw-r--r-- | tests/virshdata/dominfo-fc4.txt | 4 | ||||
-rw-r--r-- | tests/virshdata/list-custom.txt | 4 | ||||
-rw-r--r-- | tests/virshdata/list-default.txt | 2 | ||||
-rw-r--r-- | tests/virshdata/nodeinfo-custom.txt | 2 | ||||
-rw-r--r-- | tests/virshtest.c | 8 |
6 files changed, 11 insertions, 11 deletions
diff --git a/tests/virshdata/domid-fc4.txt b/tests/virshdata/domid-fc4.txt index d474e1b4d..9a7456b54 100644 --- a/tests/virshdata/domid-fc4.txt +++ b/tests/virshdata/domid-fc4.txt @@ -1,2 +1,2 @@ -1 +2 diff --git a/tests/virshdata/dominfo-fc4.txt b/tests/virshdata/dominfo-fc4.txt index a5776a9e3..cca8b98fd 100644 --- a/tests/virshdata/dominfo-fc4.txt +++ b/tests/virshdata/dominfo-fc4.txt @@ -1,9 +1,9 @@ -Id: 1 +Id: 2 Name: fc4 UUID: ef861801-45b9-11cb-88e3-afbfe5370493 OS Type: linux State: running CPU(s): 1 -Max memory: 131072 kB +Max memory: 261072 kB Used memory: 131072 kB diff --git a/tests/virshdata/list-custom.txt b/tests/virshdata/list-custom.txt index 5e83b0a5f..2b48b2629 100644 --- a/tests/virshdata/list-custom.txt +++ b/tests/virshdata/list-custom.txt @@ -1,5 +1,5 @@ Id Name State ---------------------------------- - 0 fv0 running - 1 fc4 running + 1 fv0 running + 2 fc4 running diff --git a/tests/virshdata/list-default.txt b/tests/virshdata/list-default.txt index 4528a0196..d05095c36 100644 --- a/tests/virshdata/list-default.txt +++ b/tests/virshdata/list-default.txt @@ -1,4 +1,4 @@ Id Name State ---------------------------------- - 0 Domain-0 running + 1 test running diff --git a/tests/virshdata/nodeinfo-custom.txt b/tests/virshdata/nodeinfo-custom.txt index 9bc0ba595..1e98d63e9 100644 --- a/tests/virshdata/nodeinfo-custom.txt +++ b/tests/virshdata/nodeinfo-custom.txt @@ -5,5 +5,5 @@ CPU socket(s): 4 Core(s) per socket: 4 Thread(s) per core: 2 NUMA cell(s): 4 -Memory size: 137438953 kB +Memory size: 8192000 kB diff --git a/tests/virshtest.c b/tests/virshtest.c index f509bce07..a075f78f4 100644 --- a/tests/virshtest.c +++ b/tests/virshtest.c @@ -114,7 +114,7 @@ static int testCompareDominfoByID(void *data ATTRIBUTE_UNUSED) { const char *const argv[] = { VIRSH_CUSTOM, "dominfo", - "1", + "2", NULL }; return testCompareOutput("virshdata/dominfo-fc4.txt", @@ -153,7 +153,7 @@ static int testCompareDomuuidByID(void *data ATTRIBUTE_UNUSED) { const char *const argv[] = { VIRSH_CUSTOM, "domuuid", - "1", + "2", NULL }; return testCompareOutput("virshdata/domuuid-fc4.txt", @@ -203,7 +203,7 @@ static int testCompareDomnameByID(void *data ATTRIBUTE_UNUSED) { const char *const argv[] = { VIRSH_CUSTOM, "domname", - "1", + "2", NULL }; return testCompareOutput("virshdata/domname-fc4.txt", @@ -228,7 +228,7 @@ static int testCompareDomstateByID(void *data ATTRIBUTE_UNUSED) { const char *const argv[] = { VIRSH_CUSTOM, "domstate", - "1", + "2", NULL }; return testCompareOutput("virshdata/domstate-fc4.txt", |