[njs] Fixed PATH shell variable for expect tests.

Dmitry Volyntsev xeioex at nginx.com
Mon Feb 12 12:52:10 UTC 2018


details:   http://hg.nginx.org/njs/rev/e12ed0068e57
branches:  
changeset: 446:e12ed0068e57
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Feb 12 15:15:53 2018 +0300
description:
Fixed PATH shell variable for expect tests.

To avoid interference with the already installed njs binary.

diffstat:

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

diffs (12 lines):

diff -r 727f8e98cce4 -r e12ed0068e57 nxt/auto/expect
--- a/nxt/auto/expect	Mon Feb 12 15:15:53 2018 +0300
+++ b/nxt/auto/expect	Mon Feb 12 15:15:53 2018 +0300
@@ -21,7 +21,7 @@ if [ $nxt_found = yes -a $NXT_HAVE_LIBED
     cat << END >> $NXT_MAKEFILE_CONF
 
 njs_expect_test:	njs njs/test/njs_expect_test.exp
-	PATH=\$(PATH):\$(NXT_BUILDDIR) expect -f njs/test/njs_expect_test.exp
+	PATH=\$(NXT_BUILDDIR):\$(PATH) expect -f njs/test/njs_expect_test.exp
 END
 
 else


More information about the nginx-devel mailing list