diff mbox series

[ovs-dev] jsonrpc-py.at: Fix two $PYTHON leftovers

Message ID 444ffb4cf961e6b2b0be2861672d24f01c7c8e85.1520435415.git.tredaelli@redhat.com
State Accepted
Headers show
Series [ovs-dev] jsonrpc-py.at: Fix two $PYTHON leftovers | expand

Commit Message

Timothy Redaelli March 7, 2018, 3:10 p.m. UTC
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 <tredaelli@redhat.com>
---
 tests/jsonrpc-py.at | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ben Pfaff March 7, 2018, 8:39 p.m. UTC | #1
On Wed, Mar 07, 2018 at 04:10:15PM +0100, Timothy Redaelli wrote:
> 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 <tredaelli@redhat.com>

Thanks!  I applied this to master.
diff mbox series

Patch

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],