blob: 2fa388302e2df11f26ef51fe74364a9ecdb2aa38 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001From 0c4cab9594c96c2dc435a8d9724605824bcbf917 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com>
3Date: Tue, 19 Apr 2016 02:57:45 -0400
4Subject: [PATCH] fix run-builtins failed
5
6FAIL: run-builtins
71. redirect the stderr output of command exec with -l option in
8 builtins.tests to /dev/null
92. ensure the system contain the locales "en_US.UTF-8"
10
11Upstream-Status: Pending
12
13Signed-off-by: Dengke Du <dengke.du@windriver.com>
14---
15 tests/builtins.tests | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/tests/builtins.tests b/tests/builtins.tests
19index 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--
322.8.1
33