[sheepdog] [PATCH] tests/func: fix output in 'vdi object'
Liu Yuan
namei.unix at gmail.com
Tue Dec 10 08:10:50 CET 2013
We don't set copies in struct sd_rsp any more so update the tests.
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
dog/vdi.c | 9 +--
tests/functional/028.out | 154 +++++++++++++++++++++++-----------------------
tests/functional/029.out | 140 ++++++++++++++++++++---------------------
tests/functional/035.out | 140 ++++++++++++++++++++---------------------
4 files changed, 222 insertions(+), 221 deletions(-)
diff --git a/dog/vdi.c b/dog/vdi.c
index 399b17c..a6344af 100644
--- a/dog/vdi.c
+++ b/dog/vdi.c
@@ -323,8 +323,7 @@ static int do_print_obj(const char *sheep, uint64_t oid, struct sd_rsp *rsp,
{
switch (rsp->result) {
case SD_RES_SUCCESS:
- printf("%s has the object (should be %d copies)\n",
- sheep, rsp->obj.copies);
+ printf("%s has the object\n", sheep);
break;
case SD_RES_NO_OBJ:
printf("%s doesn't have the object\n", sheep);
@@ -991,8 +990,10 @@ static int vdi_object(int argc, char **argv)
if (oid_info.success) {
if (oid_info.data_oid) {
printf("Looking for the object 0x%" PRIx64
- " (the inode vid 0x%" PRIx32 " idx %u) with %d nodes\n\n",
- oid_info.data_oid, vid, idx, sd_nodes_nr);
+ " (vid 0x%" PRIx32 " idx %u, %u copies) "
+ "with %d nodes\n\n",
+ oid_info.data_oid, vid, idx,
+ info.nr_copies, sd_nodes_nr);
parse_objs(oid_info.data_oid, do_print_obj,
NULL, size);
diff --git a/tests/functional/028.out b/tests/functional/028.out
index 59641bf..ae78e8f 100644
--- a/tests/functional/028.out
+++ b/tests/functional/028.out
@@ -6,105 +6,105 @@ a6c5d562057d0b8e7c90df17e5ea9450 -
a6c5d562057d0b8e7c90df17e5ea9450 -
Looking for the inode object 0x7c2b25 with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000000 (the inode vid 0x7c2b25 idx 0) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000000 (vid 0x7c2b25 idx 0, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000001 (the inode vid 0x7c2b25 idx 1) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000001 (vid 0x7c2b25 idx 1, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000002 (the inode vid 0x7c2b25 idx 2) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000002 (vid 0x7c2b25 idx 2, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000003 (the inode vid 0x7c2b25 idx 3) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000003 (vid 0x7c2b25 idx 3, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000004 (the inode vid 0x7c2b25 idx 4) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000004 (vid 0x7c2b25 idx 4, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000005 (the inode vid 0x7c2b25 idx 5) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000005 (vid 0x7c2b25 idx 5, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000006 (the inode vid 0x7c2b25 idx 6) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000006 (vid 0x7c2b25 idx 6, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000007 (the inode vid 0x7c2b25 idx 7) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000007 (vid 0x7c2b25 idx 7, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000008 (the inode vid 0x7c2b25 idx 8) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000008 (vid 0x7c2b25 idx 8, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000009 (the inode vid 0x7c2b25 idx 9) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000009 (vid 0x7c2b25 idx 9, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b250000000a (the inode vid 0x7c2b25 idx 10) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b250000000a (vid 0x7c2b25 idx 10, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b250000000b (the inode vid 0x7c2b25 idx 11) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b250000000b (vid 0x7c2b25 idx 11, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b250000000c (the inode vid 0x7c2b25 idx 12) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b250000000c (vid 0x7c2b25 idx 12, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b250000000d (the inode vid 0x7c2b25 idx 13) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b250000000d (vid 0x7c2b25 idx 13, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b250000000e (the inode vid 0x7c2b25 idx 14) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b250000000e (vid 0x7c2b25 idx 14, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b250000000f (the inode vid 0x7c2b25 idx 15) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b250000000f (vid 0x7c2b25 idx 15, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000010 (the inode vid 0x7c2b25 idx 16) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000010 (vid 0x7c2b25 idx 16, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000011 (the inode vid 0x7c2b25 idx 17) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000011 (vid 0x7c2b25 idx 17, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000012 (the inode vid 0x7c2b25 idx 18) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000012 (vid 0x7c2b25 idx 18, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000013 (the inode vid 0x7c2b25 idx 19) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000013 (vid 0x7c2b25 idx 19, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000014 (the inode vid 0x7c2b25 idx 20) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000014 (vid 0x7c2b25 idx 20, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000015 (the inode vid 0x7c2b25 idx 21) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000015 (vid 0x7c2b25 idx 21, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000016 (the inode vid 0x7c2b25 idx 22) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000016 (vid 0x7c2b25 idx 22, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000017 (the inode vid 0x7c2b25 idx 23) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000017 (vid 0x7c2b25 idx 23, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
-Looking for the object 0x7c2b2500000018 (the inode vid 0x7c2b25 idx 24) with 2 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+Looking for the object 0x7c2b2500000018 (vid 0x7c2b25 idx 24, 2 copies) with 2 nodes
-127.0.0.1:7000 has the object (should be 2 copies)
-127.0.0.1:7001 has the object (should be 2 copies)
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
diff --git a/tests/functional/029.out b/tests/functional/029.out
index af50642..76dc253 100644
--- a/tests/functional/029.out
+++ b/tests/functional/029.out
@@ -15,7 +15,7 @@ To create erasure coded vdi, set -c x:y
test2 0 20 MB 0.0 MB 20 MB DATE fd3816 2
test9 0 20 MB 20 MB 0.0 MB DATE fd4094 23
test8 0 20 MB 20 MB 0.0 MB DATE fd4247 9
-Looking for the object 0xfd381500000001 (the inode vid 0xfd3816 idx 1) with 23 nodes
+Looking for the object 0xfd381500000001 (vid 0xfd3816 idx 1, 2 copies) with 23 nodes
127.0.0.1:7000 doesn't have the object
127.0.0.1:7001 doesn't have the object
@@ -31,28 +31,28 @@ Looking for the object 0xfd381500000001 (the inode vid 0xfd3816 idx 1) with 23 n
127.0.0.1:7013 doesn't have the object
127.0.0.1:7014 doesn't have the object
127.0.0.1:7015 doesn't have the object
-127.0.0.1:7016 has the object (should be 2 copies)
+127.0.0.1:7016 has the object
127.0.0.1:7017 doesn't have the object
127.0.0.1:7018 doesn't have the object
127.0.0.1:7019 doesn't have the object
127.0.0.1:7020 doesn't have the object
127.0.0.1:7021 doesn't have the object
-127.0.0.1:7022 has the object (should be 2 copies)
+127.0.0.1:7022 has the object
127.0.0.1:7023 doesn't have the object
127.0.0.1:7024 doesn't have the object
-Looking for the object 0xfd366200000001 (the inode vid 0xfd3662 idx 1) with 23 nodes
+Looking for the object 0xfd366200000001 (vid 0xfd3662 idx 1, 3 copies) with 23 nodes
127.0.0.1:7000 doesn't have the object
-127.0.0.1:7001 has the object (should be 3 copies)
+127.0.0.1:7001 has the object
127.0.0.1:7004 doesn't have the object
127.0.0.1:7005 doesn't have the object
127.0.0.1:7006 doesn't have the object
-127.0.0.1:7007 has the object (should be 3 copies)
+127.0.0.1:7007 has the object
127.0.0.1:7008 doesn't have the object
127.0.0.1:7009 doesn't have the object
127.0.0.1:7010 doesn't have the object
127.0.0.1:7011 doesn't have the object
-127.0.0.1:7012 has the object (should be 3 copies)
+127.0.0.1:7012 has the object
127.0.0.1:7013 doesn't have the object
127.0.0.1:7014 doesn't have the object
127.0.0.1:7015 doesn't have the object
@@ -65,12 +65,12 @@ Looking for the object 0xfd366200000001 (the inode vid 0xfd3662 idx 1) with 23 n
127.0.0.1:7022 doesn't have the object
127.0.0.1:7023 doesn't have the object
127.0.0.1:7024 doesn't have the object
-Looking for the object 0xfd2de300000001 (the inode vid 0xfd2de3 idx 1) with 23 nodes
+Looking for the object 0xfd2de300000001 (vid 0xfd2de3 idx 1, 4 copies) with 23 nodes
127.0.0.1:7000 doesn't have the object
-127.0.0.1:7001 has the object (should be 4 copies)
+127.0.0.1:7001 has the object
127.0.0.1:7004 doesn't have the object
-127.0.0.1:7005 has the object (should be 4 copies)
+127.0.0.1:7005 has the object
127.0.0.1:7006 doesn't have the object
127.0.0.1:7007 doesn't have the object
127.0.0.1:7008 doesn't have the object
@@ -79,29 +79,29 @@ Looking for the object 0xfd2de300000001 (the inode vid 0xfd2de3 idx 1) with 23 n
127.0.0.1:7011 doesn't have the object
127.0.0.1:7012 doesn't have the object
127.0.0.1:7013 doesn't have the object
-127.0.0.1:7014 has the object (should be 4 copies)
+127.0.0.1:7014 has the object
127.0.0.1:7015 doesn't have the object
127.0.0.1:7016 doesn't have the object
127.0.0.1:7017 doesn't have the object
127.0.0.1:7018 doesn't have the object
-127.0.0.1:7019 has the object (should be 4 copies)
+127.0.0.1:7019 has the object
127.0.0.1:7020 doesn't have the object
127.0.0.1:7021 doesn't have the object
127.0.0.1:7022 doesn't have the object
127.0.0.1:7023 doesn't have the object
127.0.0.1:7024 doesn't have the object
-Looking for the object 0xfd2c3000000001 (the inode vid 0xfd2c30 idx 1) with 23 nodes
+Looking for the object 0xfd2c3000000001 (vid 0xfd2c30 idx 1, 6 copies) with 23 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7001 has the object (should be 6 copies)
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
127.0.0.1:7004 doesn't have the object
127.0.0.1:7005 doesn't have the object
127.0.0.1:7006 doesn't have the object
127.0.0.1:7007 doesn't have the object
127.0.0.1:7008 doesn't have the object
-127.0.0.1:7009 has the object (should be 6 copies)
+127.0.0.1:7009 has the object
127.0.0.1:7010 doesn't have the object
-127.0.0.1:7011 has the object (should be 6 copies)
+127.0.0.1:7011 has the object
127.0.0.1:7012 doesn't have the object
127.0.0.1:7013 doesn't have the object
127.0.0.1:7014 doesn't have the object
@@ -111,107 +111,107 @@ Looking for the object 0xfd2c3000000001 (the inode vid 0xfd2c30 idx 1) with 23 n
127.0.0.1:7018 doesn't have the object
127.0.0.1:7019 doesn't have the object
127.0.0.1:7020 doesn't have the object
-127.0.0.1:7021 has the object (should be 6 copies)
+127.0.0.1:7021 has the object
127.0.0.1:7022 doesn't have the object
-127.0.0.1:7023 has the object (should be 6 copies)
+127.0.0.1:7023 has the object
127.0.0.1:7024 doesn't have the object
-Looking for the object 0xfd314900000001 (the inode vid 0xfd3149 idx 1) with 23 nodes
+Looking for the object 0xfd314900000001 (vid 0xfd3149 idx 1, 7 copies) with 23 nodes
127.0.0.1:7000 doesn't have the object
-127.0.0.1:7001 has the object (should be 7 copies)
+127.0.0.1:7001 has the object
127.0.0.1:7004 doesn't have the object
127.0.0.1:7005 doesn't have the object
127.0.0.1:7006 doesn't have the object
127.0.0.1:7007 doesn't have the object
-127.0.0.1:7008 has the object (should be 7 copies)
+127.0.0.1:7008 has the object
127.0.0.1:7009 doesn't have the object
127.0.0.1:7010 doesn't have the object
-127.0.0.1:7011 has the object (should be 7 copies)
-127.0.0.1:7012 has the object (should be 7 copies)
+127.0.0.1:7011 has the object
+127.0.0.1:7012 has the object
127.0.0.1:7013 doesn't have the object
127.0.0.1:7014 doesn't have the object
127.0.0.1:7015 doesn't have the object
127.0.0.1:7016 doesn't have the object
127.0.0.1:7017 doesn't have the object
127.0.0.1:7018 doesn't have the object
-127.0.0.1:7019 has the object (should be 7 copies)
+127.0.0.1:7019 has the object
127.0.0.1:7020 doesn't have the object
127.0.0.1:7021 doesn't have the object
-127.0.0.1:7022 has the object (should be 7 copies)
+127.0.0.1:7022 has the object
127.0.0.1:7023 doesn't have the object
-127.0.0.1:7024 has the object (should be 7 copies)
-Looking for the object 0xfd2f9600000001 (the inode vid 0xfd2f96 idx 1) with 23 nodes
+127.0.0.1:7024 has the object
+Looking for the object 0xfd2f9600000001 (vid 0xfd2f96 idx 1, 8 copies) with 23 nodes
127.0.0.1:7000 doesn't have the object
-127.0.0.1:7001 has the object (should be 8 copies)
-127.0.0.1:7004 has the object (should be 8 copies)
+127.0.0.1:7001 has the object
+127.0.0.1:7004 has the object
127.0.0.1:7005 doesn't have the object
-127.0.0.1:7006 has the object (should be 8 copies)
+127.0.0.1:7006 has the object
127.0.0.1:7007 doesn't have the object
-127.0.0.1:7008 has the object (should be 8 copies)
+127.0.0.1:7008 has the object
127.0.0.1:7009 doesn't have the object
127.0.0.1:7010 doesn't have the object
127.0.0.1:7011 doesn't have the object
-127.0.0.1:7012 has the object (should be 8 copies)
-127.0.0.1:7013 has the object (should be 8 copies)
-127.0.0.1:7014 has the object (should be 8 copies)
+127.0.0.1:7012 has the object
+127.0.0.1:7013 has the object
+127.0.0.1:7014 has the object
127.0.0.1:7015 doesn't have the object
127.0.0.1:7016 doesn't have the object
127.0.0.1:7017 doesn't have the object
127.0.0.1:7018 doesn't have the object
-127.0.0.1:7019 has the object (should be 8 copies)
+127.0.0.1:7019 has the object
127.0.0.1:7020 doesn't have the object
127.0.0.1:7021 doesn't have the object
127.0.0.1:7022 doesn't have the object
127.0.0.1:7023 doesn't have the object
127.0.0.1:7024 doesn't have the object
-Looking for the object 0xfd424700000001 (the inode vid 0xfd4247 idx 1) with 23 nodes
+Looking for the object 0xfd424700000001 (vid 0xfd4247 idx 1, 9 copies) with 23 nodes
127.0.0.1:7000 doesn't have the object
127.0.0.1:7001 doesn't have the object
-127.0.0.1:7004 has the object (should be 9 copies)
+127.0.0.1:7004 has the object
127.0.0.1:7005 doesn't have the object
-127.0.0.1:7006 has the object (should be 9 copies)
+127.0.0.1:7006 has the object
127.0.0.1:7007 doesn't have the object
127.0.0.1:7008 doesn't have the object
127.0.0.1:7009 doesn't have the object
-127.0.0.1:7010 has the object (should be 9 copies)
-127.0.0.1:7011 has the object (should be 9 copies)
+127.0.0.1:7010 has the object
+127.0.0.1:7011 has the object
127.0.0.1:7012 doesn't have the object
127.0.0.1:7013 doesn't have the object
-127.0.0.1:7014 has the object (should be 9 copies)
-127.0.0.1:7015 has the object (should be 9 copies)
+127.0.0.1:7014 has the object
+127.0.0.1:7015 has the object
127.0.0.1:7016 doesn't have the object
127.0.0.1:7017 doesn't have the object
127.0.0.1:7018 doesn't have the object
127.0.0.1:7019 doesn't have the object
127.0.0.1:7020 doesn't have the object
127.0.0.1:7021 doesn't have the object
-127.0.0.1:7022 has the object (should be 9 copies)
-127.0.0.1:7023 has the object (should be 9 copies)
-127.0.0.1:7024 has the object (should be 9 copies)
-Looking for the object 0xfd409400000001 (the inode vid 0xfd4094 idx 1) with 23 nodes
+127.0.0.1:7022 has the object
+127.0.0.1:7023 has the object
+127.0.0.1:7024 has the object
+Looking for the object 0xfd409400000001 (vid 0xfd4094 idx 1, 23 copies) with 23 nodes
-127.0.0.1:7000 has the object (should be 23 copies)
-127.0.0.1:7001 has the object (should be 23 copies)
-127.0.0.1:7004 has the object (should be 23 copies)
-127.0.0.1:7005 has the object (should be 23 copies)
-127.0.0.1:7006 has the object (should be 23 copies)
-127.0.0.1:7007 has the object (should be 23 copies)
-127.0.0.1:7008 has the object (should be 23 copies)
-127.0.0.1:7009 has the object (should be 23 copies)
-127.0.0.1:7010 has the object (should be 23 copies)
-127.0.0.1:7011 has the object (should be 23 copies)
-127.0.0.1:7012 has the object (should be 23 copies)
-127.0.0.1:7013 has the object (should be 23 copies)
-127.0.0.1:7014 has the object (should be 23 copies)
-127.0.0.1:7015 has the object (should be 23 copies)
-127.0.0.1:7016 has the object (should be 23 copies)
-127.0.0.1:7017 has the object (should be 23 copies)
-127.0.0.1:7018 has the object (should be 23 copies)
-127.0.0.1:7019 has the object (should be 23 copies)
-127.0.0.1:7020 has the object (should be 23 copies)
-127.0.0.1:7021 has the object (should be 23 copies)
-127.0.0.1:7022 has the object (should be 23 copies)
-127.0.0.1:7023 has the object (should be 23 copies)
-127.0.0.1:7024 has the object (should be 23 copies)
+127.0.0.1:7000 has the object
+127.0.0.1:7001 has the object
+127.0.0.1:7004 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+127.0.0.1:7010 has the object
+127.0.0.1:7011 has the object
+127.0.0.1:7012 has the object
+127.0.0.1:7013 has the object
+127.0.0.1:7014 has the object
+127.0.0.1:7015 has the object
+127.0.0.1:7016 has the object
+127.0.0.1:7017 has the object
+127.0.0.1:7018 has the object
+127.0.0.1:7019 has the object
+127.0.0.1:7020 has the object
+127.0.0.1:7021 has the object
+127.0.0.1:7022 has the object
+127.0.0.1:7023 has the object
+127.0.0.1:7024 has the object
diff --git a/tests/functional/035.out b/tests/functional/035.out
index e26d3a6..f43de72 100644
--- a/tests/functional/035.out
+++ b/tests/functional/035.out
@@ -1,82 +1,82 @@
QA output created by 035
using backend plain store
-Looking for the object 0x7c2b2500000000 (the inode vid 0x7c2b25 idx 0) with 6 nodes
+Looking for the object 0x7c2b2500000000 (vid 0x7c2b25 idx 0, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000001 (the inode vid 0x7c2b25 idx 1) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000001 (vid 0x7c2b25 idx 1, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000002 (the inode vid 0x7c2b25 idx 2) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000002 (vid 0x7c2b25 idx 2, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000003 (the inode vid 0x7c2b25 idx 3) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000003 (vid 0x7c2b25 idx 3, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000004 (the inode vid 0x7c2b25 idx 4) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000004 (vid 0x7c2b25 idx 4, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000005 (the inode vid 0x7c2b25 idx 5) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000005 (vid 0x7c2b25 idx 5, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000006 (the inode vid 0x7c2b25 idx 6) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000006 (vid 0x7c2b25 idx 6, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000007 (the inode vid 0x7c2b25 idx 7) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000007 (vid 0x7c2b25 idx 7, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000008 (the inode vid 0x7c2b25 idx 8) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000008 (vid 0x7c2b25 idx 8, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
-Looking for the object 0x7c2b2500000009 (the inode vid 0x7c2b25 idx 9) with 6 nodes
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
+Looking for the object 0x7c2b2500000009 (vid 0x7c2b25 idx 9, 6 copies) with 6 nodes
-127.0.0.1:7000 has the object (should be 6 copies)
-127.0.0.1:7005 has the object (should be 6 copies)
-127.0.0.1:7006 has the object (should be 6 copies)
-127.0.0.1:7007 has the object (should be 6 copies)
-127.0.0.1:7008 has the object (should be 6 copies)
-127.0.0.1:7009 has the object (should be 6 copies)
+127.0.0.1:7000 has the object
+127.0.0.1:7005 has the object
+127.0.0.1:7006 has the object
+127.0.0.1:7007 has the object
+127.0.0.1:7008 has the object
+127.0.0.1:7009 has the object
--
1.7.9.5
More information about the sheepdog
mailing list