diff options
Diffstat (limited to 'scripts/qemuimage-tests')
24 files changed, 29 insertions, 43 deletions
diff --git a/scripts/qemuimage-tests/sanity/compiler b/scripts/qemuimage-tests/sanity/compiler index d3168a973c..29dbfd9bb9 100755 --- a/scripts/qemuimage-tests/sanity/compiler +++ b/scripts/qemuimage-tests/sanity/compiler | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | 16 | ||
17 | # Start qemu and check its network | 17 | # Start qemu and check its network |
diff --git a/scripts/qemuimage-tests/sanity/connman b/scripts/qemuimage-tests/sanity/connman index 6e19b81b16..fca6a27845 100755 --- a/scripts/qemuimage-tests/sanity/connman +++ b/scripts/qemuimage-tests/sanity/connman | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | 16 | ||
17 | # Start qemu and check its network | 17 | # Start qemu and check its network |
diff --git a/scripts/qemuimage-tests/sanity/dmesg b/scripts/qemuimage-tests/sanity/dmesg index d98d7aff84..5ed31b735f 100755 --- a/scripts/qemuimage-tests/sanity/dmesg +++ b/scripts/qemuimage-tests/sanity/dmesg | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | 16 | ||
17 | # Start qemu and check its network | 17 | # Start qemu and check its network |
diff --git a/scripts/qemuimage-tests/sanity/rpm_query b/scripts/qemuimage-tests/sanity/rpm_query index 7663901962..08017ffbe6 100755 --- a/scripts/qemuimage-tests/sanity/rpm_query +++ b/scripts/qemuimage-tests/sanity/rpm_query | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | 16 | ||
17 | # Start qemu and check its network | 17 | # Start qemu and check its network |
diff --git a/scripts/qemuimage-tests/sanity/scp b/scripts/qemuimage-tests/sanity/scp index ca19857928..c72cdc9d65 100755 --- a/scripts/qemuimage-tests/sanity/scp +++ b/scripts/qemuimage-tests/sanity/scp | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | SPID=0 | 16 | SPID=0 |
17 | i=0 | 17 | i=0 |
diff --git a/scripts/qemuimage-tests/sanity/shutdown b/scripts/qemuimage-tests/sanity/shutdown index dde03c9a10..bc08cf0fdc 100755 --- a/scripts/qemuimage-tests/sanity/shutdown +++ b/scripts/qemuimage-tests/sanity/shutdown | |||
@@ -13,11 +13,7 @@ | |||
13 | 13 | ||
14 | . $POKYBASE/scripts/qemuimage-testlib | 14 | . $POKYBASE/scripts/qemuimage-testlib |
15 | 15 | ||
16 | if [ $SHARE_IMAGE -eq 0 ]; then | 16 | TIMEOUT=400 |
17 | TIMEOUT=200 | ||
18 | elif [ $SHARE_IMAGE -eq 1 ]; then | ||
19 | TIMEOUT=500 | ||
20 | fi | ||
21 | 17 | ||
22 | RET=1 | 18 | RET=1 |
23 | i=0 | 19 | i=0 |
@@ -66,6 +62,11 @@ fi | |||
66 | if [ ${RET} -eq 0 ]; then | 62 | if [ ${RET} -eq 0 ]; then |
67 | Test_Info "Shutdown Test PASS" | 63 | Test_Info "Shutdown Test PASS" |
68 | Test_Print_Result "shutdown" 0 | 64 | Test_Print_Result "shutdown" 0 |
65 | |||
66 | # Remove TARGET_IPSAVE since no existing qemu running now | ||
67 | if [ -e ${TARGET_IPSAVE} ]; then | ||
68 | rm -rf ${TARGET_IPSAVE} | ||
69 | fi | ||
69 | exit 0 | 70 | exit 0 |
70 | else | 71 | else |
71 | Test_Info "Shutdown Test FAIL" | 72 | Test_Info "Shutdown Test FAIL" |
diff --git a/scripts/qemuimage-tests/sanity/ssh b/scripts/qemuimage-tests/sanity/ssh index e0ade72ca3..2a0e934392 100755 --- a/scripts/qemuimage-tests/sanity/ssh +++ b/scripts/qemuimage-tests/sanity/ssh | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | 16 | ||
17 | # Start qemu and check its network | 17 | # Start qemu and check its network |
diff --git a/scripts/qemuimage-tests/sanity/zypper_help b/scripts/qemuimage-tests/sanity/zypper_help index 48e121c9e1..1ab6d2407f 100755 --- a/scripts/qemuimage-tests/sanity/zypper_help +++ b/scripts/qemuimage-tests/sanity/zypper_help | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | 16 | ||
17 | # Start qemu and check its network | 17 | # Start qemu and check its network |
diff --git a/scripts/qemuimage-tests/sanity/zypper_search b/scripts/qemuimage-tests/sanity/zypper_search index 9ae69ebf1f..d6bcd27a34 100755 --- a/scripts/qemuimage-tests/sanity/zypper_search +++ b/scripts/qemuimage-tests/sanity/zypper_search | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=200 | 14 | TIMEOUT=400 |
15 | RET=1 | 15 | RET=1 |
16 | 16 | ||
17 | # Start qemu and check its network | 17 | # Start qemu and check its network |
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||