3 <summary>This case is used to test if mic can create image successfully with no proxy set in current shell, howerver it is set in ks file with '--proxy' for repo.</summary>
5 <copy src="ks_files/ivi-mbr-i586-with-proxy.ks" />
11 unset http_proxy || true
12 unset https_proxy || true
13 unset no_proxy || true
14 losetup_path=$(sudo which losetup)
16 sudo $losetup_path -a | wc -l | xargs test 0 -eq
17 sudo mic cr raw ivi-mbr-i586-with-proxy.ks --logfile=log.file --runtime=native -d -v
18 grep "Finished" log.file
19 ls mic-output/ | grep 'ivi-mbr-i586-with-proxy-.*-sdb.raw'
21 sudo $losetup_path -a | wc -l | xargs test 0 -eq
25 test -f log.file && sudo rm log.file
26 test -d mic-output && sudo rm -rf ./mic-output