X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fjsonrpc.at;h=b669a39224147e36e777a56555a1c65b9bc3da4e;hb=88f69f88b877e14ae3fb842ae74c1316dc6dee0a;hp=856fa46ee76c7775f2f9496e534da8f693a937f2;hpb=991559357f6a03c3a5b70c053c8c2554aa8d5ee4;p=sliver-openvswitch.git diff --git a/tests/jsonrpc.at b/tests/jsonrpc.at index 856fa46ee..b669a3922 100644 --- a/tests/jsonrpc.at +++ b/tests/jsonrpc.at @@ -7,7 +7,7 @@ AT_CHECK([kill -0 `cat pid`]) AT_CHECK( [[test-jsonrpc request unix:socket echo '[{"a": "b", "x": null}]']], [0], [[{"error":null,"id":0,"result":[{"a":"b","x":null}]} -]], [ignore], [test ! -e pid || kill `cat pid`]) +]], [], [test ! -e pid || kill `cat pid`]) AT_CHECK([kill `cat pid`]) AT_CLEANUP @@ -18,7 +18,7 @@ AT_CHECK([kill -0 `cat pid`]) AT_CHECK( [[test-jsonrpc request unix:socket bad-request '[]']], [0], [[{"error":{"error":"unknown method"},"id":0,"result":null} -]], [ignore], [test ! -e pid || kill `cat pid`]) +]], [], [test ! -e pid || kill `cat pid`]) AT_CHECK([kill `cat pid`]) AT_CLEANUP @@ -29,7 +29,7 @@ AT_CHECK([test -s pid]) AT_CHECK([cp pid pid2]) AT_CHECK([kill -0 `cat pid2`]) AT_CHECK([[test-jsonrpc notify unix:socket shutdown '[]']], [0], [], - [ignore], [kill `cat pid2`]) + [], [kill `cat pid2`]) AT_CHECK( [pid=`cat pid2` # First try a quick sleep, so that the test completes very quickly