diff options
| -rw-r--r-- | meta/recipes-extended/bash/bash/fix-run-builtins.patch | 33 | ||||
| -rw-r--r-- | meta/recipes-extended/bash/bash_4.3.30.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash/fix-run-builtins.patch b/meta/recipes-extended/bash/bash/fix-run-builtins.patch new file mode 100644 index 0000000000..2fa388302e --- /dev/null +++ b/meta/recipes-extended/bash/bash/fix-run-builtins.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 0c4cab9594c96c2dc435a8d9724605824bcbf917 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dengke Du <dengke.du@windriver.com> | ||
| 3 | Date: Tue, 19 Apr 2016 02:57:45 -0400 | ||
| 4 | Subject: [PATCH] fix run-builtins failed | ||
| 5 | |||
| 6 | FAIL: run-builtins | ||
| 7 | 1. redirect the stderr output of command exec with -l option in | ||
| 8 | builtins.tests to /dev/null | ||
| 9 | 2. ensure the system contain the locales "en_US.UTF-8" | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
| 14 | --- | ||
| 15 | tests/builtins.tests | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/tests/builtins.tests b/tests/builtins.tests | ||
| 19 | index 9d77520..63f3af8 100644 | ||
| 20 | --- a/tests/builtins.tests | ||
| 21 | +++ b/tests/builtins.tests | ||
| 22 | @@ -109,7 +109,7 @@ esac | ||
| 23 | |||
| 24 | # test options to exec | ||
| 25 | (exec -a specialname ${THIS_SH} -c 'echo $0' ) | ||
| 26 | -(exec -l -a specialname ${THIS_SH} -c 'echo $0' ) | ||
| 27 | +(exec -l -a specialname ${THIS_SH} -c 'echo $0' ) 2> /dev/null | ||
| 28 | # test `clean' environment. if /bin/sh is bash, and the script version of | ||
| 29 | # printenv is run, there will be variables in the environment that bash | ||
| 30 | # sets on startup. Also test code that prefixes argv[0] with a dash. | ||
| 31 | -- | ||
| 32 | 2.8.1 | ||
| 33 | |||
diff --git a/meta/recipes-extended/bash/bash_4.3.30.bb b/meta/recipes-extended/bash/bash_4.3.30.bb index 4426cf00a0..95ed3925c7 100644 --- a/meta/recipes-extended/bash/bash_4.3.30.bb +++ b/meta/recipes-extended/bash/bash_4.3.30.bb | |||
| @@ -20,6 +20,7 @@ SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \ | |||
| 20 | file://test-output.patch \ | 20 | file://test-output.patch \ |
| 21 | file://fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch \ | 21 | file://fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch \ |
| 22 | file://run-ptest \ | 22 | file://run-ptest \ |
| 23 | file://fix-run-builtins.patch \ | ||
| 23 | " | 24 | " |
| 24 | 25 | ||
| 25 | SRC_URI[tarball.md5sum] = "a27b3ee9be83bd3ba448c0ff52b28447" | 26 | SRC_URI[tarball.md5sum] = "a27b3ee9be83bd3ba448c0ff52b28447" |
