[njs] Shell: improved shell_test.

Dmitry Volyntsev xeioex at nginx.com
Fri Sep 22 19:59:40 UTC 2023


details:   https://hg.nginx.org/njs/rev/6a94953b4053
branches:  
changeset: 2203:6a94953b4053
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Wed Sep 20 19:19:58 2023 -0700
description:
Shell: improved shell_test.

Setting more appropriate env variables for libedit since we moved to
libedit as a default readline library in 0.8.0.

diffstat:

 auto/expect |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (15 lines):

diff -r 385f3bbbdca1 -r 6a94953b4053 auto/expect
--- a/auto/expect	Thu Sep 21 16:11:20 2023 -0700
+++ b/auto/expect	Wed Sep 20 19:19:58 2023 -0700
@@ -21,9 +21,8 @@ if [ $njs_found = yes -a $NJS_HAVE_READL
     cat << END >> $NJS_MAKEFILE
 
 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
+	PATH=$NJS_BUILD_DIR:\$(PATH) LANG=C.UTF-8 TERM=screen \
+    expect -f test/shell_test.exp
 END
 
 else


More information about the nginx-devel mailing list