summaryrefslogtreecommitdiff
path: root/testcode/lock_verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcode/lock_verify.c')
-rw-r--r--testcode/lock_verify.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testcode/lock_verify.c b/testcode/lock_verify.c
index 365fd6e4af0c..a46d5d99ea93 100644
--- a/testcode/lock_verify.c
+++ b/testcode/lock_verify.c
@@ -391,6 +391,11 @@ main(int argc, char* argv[])
rbtree_t* all_locks;
int i;
time_t starttime = time(NULL);
+#ifdef USE_THREAD_DEBUG
+ /* do not overwrite the ublocktrace files with the ones generated
+ * by this program (i.e. when the log code creates a lock) */
+ check_locking_order = 0;
+#endif
if(argc <= 1) {
usage();
return 1;