imagetest-qemu: Add sanity test cases for scp/shutdown in target

scp test is to check if file copying via network work or not in target.
shutdown test is to check if target can be poweroff with qemu process off.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
This commit is contained in:
Jiajun Xu
2010-11-10 22:58:52 +08:00
committed by Saul Wold
parent 2078af333d
commit d64c7ae88c
18 changed files with 175 additions and 5 deletions

View File

@@ -111,7 +111,7 @@ python do_qemuimagetest() {
os.symlink(resultfile, sresultfile)
f = open(sresultfile, "a")
f.write("\tTest Result for %s\n" % machine)
f.write("\tTestcase\tPASS\tFAIL\tNORESULT\n")
f.write("\t%-15s%-15s%-15s%-15s\n" % ("Testcase", "PASS", "FAIL", "NORESULT"))
f.close()
"""generate pre-defined testcase list"""