Don't check the files by using mic chroot method
[tools/itest-cases-mic.git] / cases / create / opt_cases / mic_cr_fs_include-src_native_ia32.case
1 <testcase>
2   <summary>create fs image with ia32 arch and --include-src option</summary>
3   <fixtures>
4     <copy src="ks_files/handset_blackbay.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  fs handset_blackbay.ks --include-src --runtime=native --logfile=mic1.log
11 grep 'Finished' mic1.log
12 sudo $losetup_path -a
13 sudo $losetup_path -a | wc -l | xargs test 0 -eq
14 test -d ./mic-output/handset_blackbay*
15 sudo chroot ./mic-output/handset_blackbay* ls /usr/src/SRPMS/ | grep ".*\.rpm"
16 ]]></steps>
17   <teardown><![CDATA[
18 echo "cleaning..."
19 sudo rm mic1.log
20 sudo rm -rf ./mic-output
21 ]]></teardown>
22 </testcase>