X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fovsdb.at;h=6f84dca407bc0ce19e365f95d683c607d9a97635;hb=686cc0c00bb4cdb3e9ee95d43917ec0cdecd4a01;hp=0e0e63b088a9f75440031f2494a4b3619d72a4c6;hpb=f85f8ebbfac946c19b3c6eb0f4170f579d0a4d25;p=openvswitch diff --git a/tests/ovsdb.at b/tests/ovsdb.at index 0e0e63b0..6f84dca4 100644 --- a/tests/ovsdb.at +++ b/tests/ovsdb.at @@ -1,3 +1,11 @@ +# OVSDB_CHECK_POSITIVE(TITLE, TEST-OVSDB-ARGS, OUTPUT, [KEYWORDS], [PREREQ]) +# +# Runs "test-ovsdb TEST-OVSDB-ARGS" and checks that it exits with +# status 0 and prints OUTPUT on stdout. +# +# TITLE is provided to AT_SETUP and KEYWORDS to AT_KEYWORDS. If +# PREREQ is specified then the test is skipped if the Autoconf version +# is less than PREREQ. m4_define([OVSDB_CHECK_POSITIVE], [AT_SETUP([$1]) m4_if([$5], [], [], @@ -7,6 +15,11 @@ m4_define([OVSDB_CHECK_POSITIVE], ], []) AT_CLEANUP]) +# OVSDB_CHECK_NEGATIVE(TITLE, TEST-OVSDB-ARGS, OUTPUT, [KEYWORDS], [PREREQ]) +# +# Runs "test-ovsdb TEST-OVSDB-ARGS" and checks that it exits with +# status 1 and that its output on stdout contains substring OUTPUT. +# TITLE is provided to AT_SETUP and KEYWORDS to AT_KEYWORDS. m4_define([OVSDB_CHECK_NEGATIVE], [AT_SETUP([$1]) AT_KEYWORDS([ovsdb negative $4]) @@ -22,14 +35,19 @@ m4_define([OVSDB_CHECK_NEGATIVE], [0], [ignore], [ignore]) AT_CLEANUP]) -m4_include([tests/ovsdb-file.at]) +m4_include([tests/ovsdb-log.at]) m4_include([tests/ovsdb-types.at]) m4_include([tests/ovsdb-data.at]) m4_include([tests/ovsdb-column.at]) m4_include([tests/ovsdb-table.at]) m4_include([tests/ovsdb-row.at]) m4_include([tests/ovsdb-condition.at]) +m4_include([tests/ovsdb-mutation.at]) m4_include([tests/ovsdb-query.at]) m4_include([tests/ovsdb-transaction.at]) m4_include([tests/ovsdb-execution.at]) m4_include([tests/ovsdb-trigger.at]) +m4_include([tests/ovsdb-file.at]) +m4_include([tests/ovsdb-server.at]) +m4_include([tests/ovsdb-monitor.at]) +m4_include([tests/ovsdb-idl.at])