#!/bin/bash # Dmesg Check Test Case for Sanity Test # The case boot up the Qemu target with `runqemu qemuxxx`. # Then check if there is any error log in dmesg. # # Author: Jiajun Xu # # This file is licensed under the GNU General Public License, # Version 2. # . $COREBASE/scripts/qemuimage-testlib TIMEOUT=400 RET=1 # Start qemu and check its network Test_Create_Qemu ${TIMEOUT} # If qemu network is up, check ssh service in qemu if [ $? -eq 0 ]; then Test_Info "Begin to Test SSH Service in Qemu" Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT} RET=$? else RET=1 fi # Check if there is any error log in dmesg if [ $RET -eq 0 -a -f $TOOLS/dmesg.sh ]; then # Copy dmesg.sh into target Test_Target_Pre ${TARGET_IPADDR} $TOOLS/dmesg.sh if [ $? -eq 0 ]; then # Run dmesg.sh to check if there is any error message with command dmesg Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/dmesg.sh" RET=$? else RET=1 fi fi if [ ${RET} -eq 0 ]; then Test_Info "Dmesg Test PASS" Test_Kill_Qemu Test_Print_Result "dmesg" 0 exit 0 else Test_Info "Dmesg Test FAIL, Pls. check above error log" Test_Kill_Qemu Test_Print_Result "dmesg" 1 exit 1 fi ded-core.git
Trygve Laugstøl
summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/boost/boost-36.inc
blob: d297dfb1af894c41ffe9a7c2f92b90e41b622f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148