path: root/README
diff options
authorDengke Du <dengke.du@windriver.com>2016-04-19 03:11:24 -0400
committerDengke Du <dengke.du@windriver.com>2016-04-19 03:55:45 -0400
commitefa4eef06732bb5a4143f55e0aa4093c4f81c9ee (patch)
tree0b6d1a3e9e4cddfd6171b86a90813b5d3eabbe56 /README
parentee25d0e3987d7732a2e46e1640693b4cf419a9fc (diff)
bash: fixed ptest run-builtins faileddengke/fixed-bash-ptest-run-builtins-failed
1. redirect the stderr output of the command exec with -l option to /dev/null. Because when we run command exec with -l option in builtins.tests, it is a login shell, so it would read the file /etc/profile, that file executes the /usr/bin/resize which added by commit: cc6360f4c4d97e0000f9d3545f381224ee99ce7d The /usr/bin/resize is produced by busybox that source code resize.c contains: fprintf(stderr, ESC"7" ESC"[r" ESC"[999;999H" ESC"[6n"); In the end, it outputs an escape sequence to the stderr, so when we compare the test output file /tmp/xx with builtins.right, it failed. we need to redirect the stderr output to the /dev/null to solve the problem. 2. ensure the target system contains the locales "en_US.UTF-8". Because when run the run-builtins, it executes the source5.sub file that contain: LC_ALL=en_US.UTF-8 such as add the following to the local.conf: IMAGE_LINGUAS_append = " en-us" Signed-off-by: Dengke Du <dengke.du@windriver.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions