Don't check the files by using mic chroot method
[tools/itest-cases-mic.git] / cases / create / opt_cases / mic_cr_raw_generate-bmap_ia32_native.case
1 <testcase>
2   <summary>create raw image with ia32 arch and '--generate-bmap' option in native mode</summary>
3   <fixtures>
4     <copy src="ks_files/ivi.ks" />
5   </fixtures>
6   <steps><![CDATA[
7 losetup_path=$(sudo which losetup)
8 sudo $losetup_path -a
9 sudo $losetup_path -a | wc -l | xargs test 0 -eq
10 sudo mic cr -d -v  raw ivi.ks --generate-bmap --runtime=native --logfile=mic1.log
11 grep 'Finished' mic1.log
12 test -f ./mic-output/ivi*.raw
13 sudo $losetup_path -a
14 sudo $losetup_path -a | wc -l | xargs test 0 -eq
15 test -f ./mic-output/ivi*.bmap
16 ]]></steps>
17   <teardown><![CDATA[
18 echo "cleaning..."
19 sudo rm -rf ./mic-output/
20 sudo rm mic1.log
21 echo "finish cleaning..."
22 ]]></teardown>
23 </testcase>