]> git.kaiwu.me - njs.git/commitdiff
Fixed PATH shell variable for expect tests.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 12 Feb 2018 12:15:53 +0000 (15:15 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 12 Feb 2018 12:15:53 +0000 (15:15 +0300)
To avoid interference with the already installed njs binary.

nxt/auto/expect

index 12652cd9d49bce407b7caa92065aad0a918881c0..8ea8eb9bc3a0cddf79ca24d41d6035347d199e90 100644 (file)
@@ -21,7 +21,7 @@ if [ $nxt_found = yes -a $NXT_HAVE_LIBEDIT = YES ]; then
     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