[ovs-dev] [PATCH] ovsdb-server.at: Skip tests that use ovsdb-server's "--run" on Windows.
Gurucharan Shetty
shettyg at nicira.com
Mon Jul 14 15:01:42 UTC 2014
ovsdb-server's port on Windows does not support the "--run" option.
The two tests skipped in this commit make use of "--run" option to
test ovsdb-server's truncating of corrupt log or bad transaction.
It looks a little tricky to get this test running on Windows without
the "--run" option implemented.
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
I somehow missed these 2 invocations with commit c17b52e8c3a97de1
(ovsdb-server.at: Skip transient transaction tests for Windows.)
With this patch, a 'make check' succeeds on Windows.
---
tests/ovsdb-server.at | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at
index b30a714..36073d2 100644
--- a/tests/ovsdb-server.at
+++ b/tests/ovsdb-server.at
@@ -42,6 +42,7 @@ AT_BANNER([ovsdb-server miscellaneous features])
AT_SETUP([truncating corrupted database log])
AT_KEYWORDS([ovsdb server positive unix])
+AT_SKIP_IF([test "$IS_WIN32" = "yes"])
OVS_RUNDIR=`pwd`; export OVS_RUNDIR
ordinal_schema > schema
AT_CHECK([ovsdb-tool create db schema], [0], [stdout], [ignore])
@@ -89,6 +90,7 @@ AT_CLEANUP
AT_SETUP([truncating database log with bad transaction])
AT_KEYWORDS([ovsdb server positive unix])
+AT_SKIP_IF([test "$IS_WIN32" = "yes"])
OVS_RUNDIR=`pwd`; export OVS_RUNDIR
ordinal_schema > schema
AT_CHECK([ovsdb-tool create db schema], [0], [stdout], [ignore])
--
1.7.9.5
More information about the dev
mailing list