]> xenbits.xensource.com Git - osstest.git/commitdiff
Manual allocation: Set $| in mg-blockage
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 7 Sep 2015 15:38:01 +0000 (16:38 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 8 Sep 2015 10:31:46 +0000 (11:31 +0100)
This makes it slightly easier to see what it's happening if
mg-allocate or mg-blockage has no tty.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
v2: New patch

mg-allocate
mg-blockage

index 672d9eca43275c54baf1d39251af3fec4b8e8f4e..1e517a2988bad496cc9ab461972fa96cf7f4d4d0 100755 (executable)
@@ -36,6 +36,8 @@ use Osstest::Executive;
 
 csreadconfig();
 
+$|=1;
+
 our $tid;
 our %magictask;
 
index 90547a588363305c3d38b6ae22714eb748119771..d3e6169dd7a31d5f4fc183568c9d3ac60756ce9a 100755 (executable)
@@ -24,6 +24,8 @@ sub parsedate ($) {
     return $r;
 }
 
+$|=1;
+
 my $baseinfo = manual_allocation_base_jobinfo();
 my $info = "blockage $baseinfo [$start .. $end]";
 $info .= " $minfo" if defined $minfo;