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