For debugging.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 Osstest/PDU/pause.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Osstest/PDU/pause.pm b/Osstest/PDU/pause.pm
index 9e839c6..b5f0322 100644
--- a/Osstest/PDU/pause.pm
+++ b/Osstest/PDU/pause.pm
@@ -46,6 +46,7 @@ sub new {
 
 sub pdu_power_state {
     my ($mo, $on) = @_;
+    return if $ENV{OSSTEST_PDU_NOPAUSE};
     my $delay = $mo->[!!$on];
     logm("power: pdu operation pausing for ${delay}s");
     sleep $delay;
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to