From 442534355d3d5235c21330ccb79f087d97bf2e3e Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 7 Mar 2018 16:10:15 +0100 Subject: [PATCH] jsonrpc-py.at: Fix two $PYTHON leftovers Fix two $PYTHON leftovers. One in JSONRPC_REQ_REPLY_SUCCESS_PYN and the other in JSONRPC_REQ_REPLY_ERROR_PYN Fixes: 58bed3df484b ("jsonrpc-py.at: Run tests with Python 2 and 3.") Signed-off-by: Timothy Redaelli Signed-off-by: Ben Pfaff --- tests/jsonrpc-py.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/jsonrpc-py.at b/tests/jsonrpc-py.at index dc1cb45fa..f907a5d02 100644 --- a/tests/jsonrpc-py.at +++ b/tests/jsonrpc-py.at @@ -4,7 +4,7 @@ m4_define([JSONRPC_REQ_REPLY_SUCCESS_PYN], [AT_SETUP([JSON-RPC request and successful reply - $1]) AT_SKIP_IF([test $2 = no]) AT_KEYWORDS([python jsonrpc]) - AT_CHECK([$PYTHON $srcdir/test-jsonrpc.py --pidfile --detach listen punix:socket]) + AT_CHECK([$3 $srcdir/test-jsonrpc.py --pidfile --detach listen punix:socket]) on_exit 'kill `cat test-jsonrpc.py.pid`' AT_CHECK( [[$3 $srcdir/test-jsonrpc.py request unix:socket echo '[{"a": "b", "x": null}]']], [0], @@ -19,7 +19,7 @@ m4_define([JSONRPC_REQ_REPLY_ERROR_PYN], [AT_SETUP([JSON-RPC request and error reply - $1]) AT_SKIP_IF([test $2 = no]) AT_KEYWORDS([python jsonrpc]) - AT_CHECK([$PYTHON $srcdir/test-jsonrpc.py --pidfile --detach listen punix:socket]) + AT_CHECK([$3 $srcdir/test-jsonrpc.py --pidfile --detach listen punix:socket]) on_exit 'kill `cat test-jsonrpc.py.pid`' AT_CHECK( [[$3 $srcdir/test-jsonrpc.py request unix:socket bad-request '[]']], [0], -- 2.39.5