From: Ben Pfaff Date: Tue, 2 Feb 2010 22:31:36 +0000 (-0800) Subject: tests: Fix timing dependency in ovsdb-log test. X-Git-Tag: v1.0.0~259^2~206 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=28447a186b017471dc00ed41ab832dc566d7bebd;p=sliver-openvswitch.git tests: Fix timing dependency in ovsdb-log test. The "lockfile" module logs a message if locking takes a measurable amount of time. Running the tests under valgrind tends to make this message appear, so we need to disable it to make the output comparison come out cleanly. --- diff --git a/tests/ovsdb-log.at b/tests/ovsdb-log.at index 6f00e8852..8aeb33b56 100644 --- a/tests/ovsdb-log.at +++ b/tests/ovsdb-log.at @@ -46,7 +46,7 @@ AT_CHECK( file: read: [1] ]], [ignore]) AT_CHECK( - [test-ovsdb log-io file 'O_CREAT|O_RDWR|O_EXCL' read], [1], + [test-ovsdb -vlockfile:console:emer log-io file 'O_CREAT|O_RDWR|O_EXCL' read], [1], [], [test-ovsdb: I/O error: create: file failed (File exists) ]) AT_CHECK([test -f .file.~lock~])