X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fovsdb.at;h=6f84dca407bc0ce19e365f95d683c607d9a97635;hb=ff8decf1a318b4a611cb08bb3f12833044e8a872;hp=d3d53bcc7354b3671c942aab690c0470e4c6b5d0;hpb=41709cccb8099972f9c6c3faf583b1286cb92e8a;p=openvswitch diff --git a/tests/ovsdb.at b/tests/ovsdb.at index d3d53bcc..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]) @@ -29,7 +42,12 @@ 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])