projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vswitch.xml: Fix bond-hash-basis documentation placement.
[openvswitch]
/
tests
/
test-ovsdb.c
diff --git
a/tests/test-ovsdb.c
b/tests/test-ovsdb.c
index e151dd8bcad848063b39b5da1f1e76c5d3f9c0f9..1b9ea2095ae01679dcea5007fa661838de63ce7a 100644
(file)
--- a/
tests/test-ovsdb.c
+++ b/
tests/test-ovsdb.c
@@
-1258,7
+1258,7
@@
do_execute(int argc OVS_UNUSED, char *argv[])
char *s;
params = parse_json(argv[i]);
char *s;
params = parse_json(argv[i]);
- result = ovsdb_execute(db, params, 0, NULL);
+ result = ovsdb_execute(db,
NULL,
params, 0, NULL);
s = json_to_string(result, JSSF_SORT);
printf("%s\n", s);
free(s);
s = json_to_string(result, JSSF_SORT);
printf("%s\n", s);
free(s);
@@
-1779,7
+1779,7
@@
idl_set(struct ovsdb_idl *idl, char *commands, int step)
struct idltest_simple *s;
if (!arg1 || arg2) {
struct idltest_simple *s;
if (!arg1 || arg2) {
- ovs_fatal(0, "\"
se
t\" command requires 1 argument");
+ ovs_fatal(0, "\"
inser
t\" command requires 1 argument");
}
s = idltest_simple_insert(txn);
}
s = idltest_simple_insert(txn);
@@
-1788,12
+1788,12
@@
idl_set(struct ovsdb_idl *idl, char *commands, int step)
const struct idltest_simple *s;
if (!arg1 || arg2) {
const struct idltest_simple *s;
if (!arg1 || arg2) {
- ovs_fatal(0, "\"
set
\" command requires 1 argument");
+ ovs_fatal(0, "\"
delete
\" command requires 1 argument");
}
s = idltest_find_simple(idl, atoi(arg1));
if (!s) {
}
s = idltest_find_simple(idl, atoi(arg1));
if (!s) {
- ovs_fatal(0, "\"
set
\" command asks for nonexistent "
+ ovs_fatal(0, "\"
delete
\" command asks for nonexistent "
"i=%d", atoi(arg1));
}
idltest_simple_delete(s);
"i=%d", atoi(arg1));
}
idltest_simple_delete(s);