summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-tests/sanity/boot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemuimage-tests/sanity/boot')
-rwxr-xr-xscripts/qemuimage-tests/sanity/boot29
1 files changed, 0 insertions, 29 deletions
diff --git a/scripts/qemuimage-tests/sanity/boot b/scripts/qemuimage-tests/sanity/boot
deleted file mode 100755
index 5a8c01c9ac..0000000000
--- a/scripts/qemuimage-tests/sanity/boot
+++ /dev/null
@@ -1,29 +0,0 @@
1#!/bin/bash
2#
3# Boot Test Case for Sanity Test
4# The case boot up the Qemu target with `runqemu qemuxxx`.
5# Then check if qemu and qemu network is up.
6#
7# Author: Jiajun Xu <jiajun.xu@intel.com>
8#
9# This file is licensed under the GNU General Public License,
10# Version 2.
11#
12. $COREBASE/scripts/qemuimage-testlib
13
14TIMEOUT=400
15
16# Start qemu and check its network
17Test_Create_Qemu ${TIMEOUT}
18
19if [ $? -eq 0 ]; then
20 Test_Info "Boot Test PASS"
21 Test_Kill_Qemu
22 Test_Print_Result "Boot" 0
23 exit 0
24else
25 Test_Info "Boot Test FAIL"
26 Test_Kill_Qemu
27 Test_Print_Result "Boot" 1
28 exit 1
29fi