Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
feb26b85
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
feb26b85
编写于
5月 27, 2014
作者:
P
Peter Krempa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: virstoragetest: Remove now unused pathAbs
Separately remove the now unused variable.
上级
7ba6a6f9
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
15 deletion
+0
-15
tests/virstoragetest.c
tests/virstoragetest.c
+0
-15
未找到文件。
tests/virstoragetest.c
浏览文件 @
feb26b85
...
...
@@ -283,7 +283,6 @@ struct _testFileData
unsigned
long
long
expCapacity
;
bool
expEncrypted
;
const
char
*
pathRel
;
const
char
*
pathAbs
;
const
char
*
path
;
const
char
*
relDirRel
;
const
char
*
relDirAbs
;
...
...
@@ -734,7 +733,6 @@ mymain(void)
/* Raw image, whether with right format or no specified format */
testFileData
raw
=
{
.
pathAbs
=
canonraw
,
.
path
=
canonraw
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -753,12 +751,10 @@ mymain(void)
(
&
raw
),
ALLOW_PROBE
|
EXP_PASS
);
/* Qcow2 file with relative raw backing, format provided */
raw
.
pathAbs
=
"raw"
;
raw
.
pathRel
=
"raw"
;
testFileData
qcow2
=
{
.
expBackingStoreRaw
=
"raw"
,
.
expCapacity
=
1024
,
.
pathAbs
=
canonqcow2
,
.
path
=
canonqcow2
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -766,7 +762,6 @@ mymain(void)
.
format
=
VIR_STORAGE_FILE_QCOW2
,
};
testFileData
qcow2_as_raw
=
{
.
pathAbs
=
canonqcow2
,
.
path
=
canonqcow2
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -792,7 +787,6 @@ mymain(void)
ret
=
-
1
;
qcow2
.
expBackingStoreRaw
=
absraw
;
raw
.
pathRel
=
NULL
;
raw
.
pathAbs
=
absraw
;
raw
.
relDirRel
=
datadir
;
/* Qcow2 file with raw as absolute backing, backing format provided */
...
...
@@ -811,7 +805,6 @@ mymain(void)
testFileData
wrap
=
{
.
expBackingStoreRaw
=
absqcow2
,
.
expCapacity
=
1024
,
.
pathAbs
=
abswrap
,
.
path
=
canonwrap
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -843,7 +836,6 @@ mymain(void)
testFileData
wrap_as_raw
=
{
.
expBackingStoreRaw
=
absqcow2
,
.
expCapacity
=
1024
,
.
pathAbs
=
abswrap
,
.
path
=
canonwrap
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -898,7 +890,6 @@ mymain(void)
/* Qcow2 file with backing protocol instead of file */
testFileData
nbd
=
{
.
pathAbs
=
"nbd:example.org:6000:exportname=blah"
,
.
path
=
"blah"
,
.
type
=
VIR_STORAGE_TYPE_NETWORK
,
.
format
=
VIR_STORAGE_FILE_RAW
,
...
...
@@ -915,7 +906,6 @@ mymain(void)
testFileData
qed
=
{
.
expBackingStoreRaw
=
absraw
,
.
expCapacity
=
1024
,
.
pathAbs
=
absqed
,
.
path
=
canonqed
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -923,7 +913,6 @@ mymain(void)
.
format
=
VIR_STORAGE_FILE_QED
,
};
testFileData
qed_as_raw
=
{
.
pathAbs
=
absqed
,
.
path
=
canonqed
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -938,7 +927,6 @@ mymain(void)
/* directory */
testFileData
dir
=
{
.
pathAbs
=
absdir
,
.
path
=
canondir
,
.
relDirRel
=
"."
,
.
relDirAbs
=
datadir
,
...
...
@@ -977,7 +965,6 @@ mymain(void)
.
expBackingStoreRaw
=
"../raw"
,
.
expCapacity
=
1024
,
.
pathRel
=
"../sub/link1"
,
.
pathAbs
=
"../sub/link1"
,
.
path
=
canonqcow2
,
.
relDirRel
=
"sub/../sub"
,
.
relDirAbs
=
datadir
"/sub/../sub"
,
...
...
@@ -987,7 +974,6 @@ mymain(void)
testFileData
link2
=
{
.
expBackingStoreRaw
=
"../sub/link1"
,
.
expCapacity
=
1024
,
.
pathAbs
=
abslink2
,
.
path
=
canonwrap
,
.
relDirRel
=
"sub"
,
.
relDirAbs
=
datadir
"/sub"
,
...
...
@@ -995,7 +981,6 @@ mymain(void)
.
format
=
VIR_STORAGE_FILE_QCOW2
,
};
raw
.
pathRel
=
"../raw"
;
raw
.
pathAbs
=
"../raw"
;
raw
.
relDirRel
=
"sub/../sub/.."
;
raw
.
relDirAbs
=
datadir
"/sub/../sub/.."
;
TEST_CHAIN
(
15
,
"sub/link2"
,
abslink2
,
VIR_STORAGE_FILE_QCOW2
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录