From 28447a186b017471dc00ed41ab832dc566d7bebd Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 2 Feb 2010 14:31:36 -0800 Subject: [PATCH] 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. --- tests/ovsdb-log.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ovsdb-log.at b/tests/ovsdb-log.at index 6f00e885..8aeb33b5 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~]) -- 2.30.2