diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-07-26 10:16:15 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-07-26 16:50:08 -0700 |
| commit | 53ffefe93c91823344645d5e27082381f7f680cc (patch) | |
| tree | 3309399d79b997ce31fd32cfeeb8e2db0012d8e3 /tests | |
| parent | 80df177a5f624a84f4c97bbe913511726c3e9bb8 (diff) | |
| download | openvswitch-53ffefe93c91823344645d5e27082381f7f680cc.tar.gz | |
ovsdb-client: Make "server" and "database" arguments optional.
In practice these arguments are almost always the defaults, so this change
makes ovsdb-client much more usable interactively.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ovsdb-server.at | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at index a7a2829e2..7d79d220d 100644 --- a/tests/ovsdb-server.at +++ b/tests/ovsdb-server.at @@ -155,9 +155,9 @@ AT_CHECK( [0], [ordinals ], [ignore], [test ! -e pid || kill `cat pid`]) AT_CHECK( - [[ovsdb-client get-schema unix:socket nonexistent]], - [1], [], [[ovsdb-client: syntax "{"details":"get_schema request specifies unknown database nonexistent","error":"unknown database","syntax":"[\"nonexistent\"]"}": syntax error: Parsing database schema failed: Required 'name' member is missing. -]], [test ! -e pid || kill `cat pid`]) + [[test-jsonrpc request unix:socket get_schema [\"nonexistent\"]]], [0], + [[{"error":null,"id":0,"result":{"details":"get_schema request specifies unknown database nonexistent","error":"unknown database","syntax":"[\"nonexistent\"]"}} +]], [], [test ! -e pid || kill `cat pid`]) OVSDB_SERVER_SHUTDOWN AT_CLEANUP |
