Don't check the files by using mic chroot method
[tools/itest-cases-mic.git] / cases / create / opt_cases / mic_cr_raw_fstab-name_gpt_native_ia32.case
1 <testcase>
2   <summary>create raw image with ia32 arch and --fstab-entry=name  option in native mode</summary>
3   <fixtures>
4     <copy src="ks_files/ivi_four_partition_gpt.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_four_partition_gpt.ks \
11   --runtime=native \
12   --fstab-entry=name \
13   --logfile=mic1.log
14 grep 'Finished' mic1.log
15 test -f ./mic-output/ivi_four_partition_gpt-*.raw
16 sudo $losetup_path -a
17 sudo $losetup_path -a | wc -l | xargs test 0 -eq
18 ]]></steps>
19   <teardown><![CDATA[
20 echo "cleaning..."
21 test -d ./mic-output && sudo rm -rf ./mic-output/
22 test -f 'mic1.log' && sudo rm mic1.log
23 echo 'finish cleaning'
24 ]]></teardown>
25 </testcase>