]> git.kaiwu.me - njs.git/commitdiff
Shell: improved shell_test.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 21 Sep 2023 02:19:58 +0000 (19:19 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 21 Sep 2023 02:19:58 +0000 (19:19 -0700)
Setting more appropriate env variables for libedit since we moved to
libedit as a default readline library in 0.8.0.

auto/expect

index f3fa73c5599ec04d3e9cf901f1acf742096ae9e0..193f42a0689a14915e41a4baa2a90f6fcaed16a1 100644 (file)
@@ -21,9 +21,8 @@ if [ $njs_found = yes -a $NJS_HAVE_READLINE = YES ]; then
     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