Skip to contentSkip to conversation

ts-leak-check: Treat listing failure as fail, not broken

PATCH New Ian Jackson 1 participant 1 message Sep 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts-leak-check: Treat listing failure as fail, not broken

This can easily occur if the test host crashes, due to a bug.

---
 ts-leak-check | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-leak-check +1 -1
index 7dbabfe..678d069 100755
@@ -176,7 +176,7 @@ if (!eval {
     &{ "finish_$mode" }();
     1;
 }) {
-    broken("listing/checking leakable objects: $@");
+    fail("listing/checking leakable objects: $@");
 }
 
 fail("$leaks leaked object(s)") if $leaks;
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel