clitest: replace DIR from current pwd to '/var'

Introduced by f16dc4dd34
This will cause test case failure on different machines.
Use '/var' to replace it.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
Chen Hanxiao 2014-12-11 11:45:45 +08:00
parent 6871ee0c91
commit 5d0c68cc0c
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@
</disk>
<disk type="dir" device="floppy">
<driver name="qemu"/>
<source dir="/home/crobinso/src/virt-manager"/>
<source dir="/var"/>
<target dev="fda" bus="fdc"/>
</disk>
<controller type="usb" index="0" model="ich9-ehci1">

View File

@ -97,7 +97,7 @@ test_files = {
'EXISTUPPER' : "/dev/default-pool/UPPER",
'POOL' : "default-pool",
'VOL' : "testvol1.img",
'DIR' : os.getcwd(),
'DIR' : "/var",
'TREEDIR' : treedir,
'MANAGEDNEW1' : "/dev/default-pool/clonevol",
'MANAGEDDISKNEW1' : "/dev/disk-pool/newvol1.img",