You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/06/02 08:26:18 UTC

svn commit: r179527 - /spamassassin/trunk/t/SATest.pl

Author: jm
Date: Wed Jun  1 23:26:17 2005
New Revision: 179527

URL: http://svn.apache.org/viewcvs?rev=179527&view=rev
Log:
more unbuffering, could be part of why those tests are failing on Michael's SuSE build slave

Modified:
    spamassassin/trunk/t/SATest.pl

Modified: spamassassin/trunk/t/SATest.pl
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/t/SATest.pl?rev=179527&r1=179526&r2=179527&view=diff
==============================================================================
--- spamassassin/trunk/t/SATest.pl (original)
+++ spamassassin/trunk/t/SATest.pl Wed Jun  1 23:26:17 2005
@@ -21,7 +21,9 @@
   open (STDOUT, ">$stdout") || die "Could not redirect STDOUT to $stdout: $!";
   open (STDERR, ">$stderr") || die "Could not redirect STDERR to $stderr: $!";
   
-  $| = 1;
+  select STDERR; $| = 1;
+  select STDOUT; $| = 1;
+
   exec { $args[0] } @args;
   die "Could not exec " . join(' ', @args) . ": $!";
 }