summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch')
-rw-r--r--meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch b/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch
new file mode 100644
index 0000000000..9ae24da51e
--- /dev/null
+++ b/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch
@@ -0,0 +1,30 @@
1From 782d8a869c266820d0f34974436f244f67afaea7 Mon Sep 17 00:00:00 2001
2From: Zqiang <qiang.zhang@windriver.com>
3Date: Mon, 19 Apr 2021 14:15:45 +0800
4Subject: [PATCH] ifupdown: skip wrong test case
5
6The test parameters of testcase(12-15) file is not right,
7it triggers a test failure, these test items are invalid
8and are skipped directly.
9
10Upstream-Status: Inappropriate [oe-core specific]
11
12Signed-off-by: Zqiang <qiang.zhang@windriver.com>
13
14---
15 tests/testbuild-linux | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/tests/testbuild-linux b/tests/testbuild-linux
19index 2fa1b8b..2c69856 100755
20--- a/tests/testbuild-linux
21+++ b/tests/testbuild-linux
22@@ -3,7 +3,7 @@
23 dir=tests/linux
24
25 result=true
26-for test in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do
27+for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
28 if [ -e $dir/testcase.$test ]; then
29 args="$(cat $dir/testcase.$test | sed -n 's/^# RUN: //p')"
30 else