summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch
blob: c751e4fab0305379b02c8aaefe8c0a32c4fc95e8 (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
From 98243deface88614e3f332c4a85d04a9abce55ff Mon Sep 17 00:00:00 2001
From: Zqiang <qiang.zhang@windriver.com>
Date: Mon, 19 Apr 2021 14:15:45 +0800
Subject: [PATCH] ifupdown: skip wrong test case

The test parameters of testcase(12-15) file is not right,
it triggers a test failure, these test items are invalid
and are skipped directly.

Upstream-Status: Inappropriate [oe-core specific]

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
---
 tests/testbuild-linux | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/testbuild-linux b/tests/testbuild-linux
index 1181ea0..5f148eb 100755
--- a/tests/testbuild-linux
+++ b/tests/testbuild-linux
@@ -3,7 +3,7 @@
 dir=tests/linux
 
 result=true
-for test in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18; do
+for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do
 	if [ -e $dir/testcase.$test ]; then
 		args="$(cat $dir/testcase.$test | sed -n 's/^# RUN: //p')"
 	else
-- 
2.17.1