test-lockfile: Provide better diagnostics on failure.
authorBen Pfaff <blp@nicira.com>
Thu, 29 Sep 2011 17:39:49 +0000 (10:39 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 19 Oct 2011 16:45:33 +0000 (09:45 -0700)
commit3d459fee47e77385476f61ef4a3ae0adcf99a226
tree65f22dad4c09f4687571ba0916d2b2b124e2af58
parent62698c77ecf6297b245a5c1857197f895f218ced
test-lockfile: Provide better diagnostics on failure.

We spotted one failure of the "lock_timeout_runs_out" test several builds
ago, but there weren't enough diagnostics to track it down and I couldn't
reproduce it.

This commit should make the failure easier to understand if it recurs.

CC: Michael Hu <mhu@nicira.com>
tests/test-lockfile.c