This is useful for debugging.
Signed-off-by: Ian Jackson <[email protected]>
---
Osstest.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Osstest.pm b/Osstest.pm
index 2263786..3377ea3 100644
--- a/Osstest.pm
+++ b/Osstest.pm
@@ -330,6 +330,8 @@ sub db_retry ($$$;$$) {
last if $db_retry_stop eq 'abort';
next;
}
+ die 'OSSTEST_DB_ALWAYS_ABORT set'
+ if $ENV{'OSSTEST_DB_ALWAYS_ABORT'};
$committing = 1;
$dbh->commit();
};
--
2.1.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel