[njs] Tests: improved shell_test portability to different environments.

Dmitry Volyntsev xeioex at nginx.com
Wed Apr 5 05:51:38 UTC 2023


details:   https://hg.nginx.org/njs/rev/da32f93aa990
branches:  
changeset: 2081:da32f93aa990
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Tue Apr 04 22:19:49 2023 -0700
description:
Tests: improved shell_test portability to different environments.

diffstat:

 auto/expect |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 294b69d82ea4 -r da32f93aa990 auto/expect
--- a/auto/expect	Tue Apr 04 22:19:48 2023 -0700
+++ b/auto/expect	Tue Apr 04 22:19:49 2023 -0700
@@ -22,6 +22,7 @@ if [ $njs_found = yes -a $NJS_HAVE_READL
 
 shell_test:	njs test/shell_test.exp
 	INPUTRC=test/inputrc PATH=$NJS_BUILD_DIR:\$(PATH) \
+	LANG=en_US.UTF-8 TERM= \
             expect -f test/shell_test.exp
 END
 


More information about the nginx-devel mailing list