提交 8fdeefe1 编写于 作者: P Peter Krempa

test: set 'type' field of virStorageSource

Set the type so that the iterators will work after upcoming
modification.
上级 ee4d2df8
......@@ -580,6 +580,7 @@ testPathRelativePrepare(void)
size_t i;
for (i = 0; i < ARRAY_CARDINALITY(backingchain); i++) {
backingchain[i].type = VIR_STORAGE_TYPE_FILE;
if (i < ARRAY_CARDINALITY(backingchain) - 1)
backingchain[i].backingStore = &backingchain[i + 1];
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册