Show
Ignore:
Timestamp:
12/01/08 18:09:10 (3 years ago)
Author:
Ted Faber <faber@…>
Children:
77a7634ae9afa3fa50d513168b0c98ba100cc9a9
Parents:
12e6ca814632961b719ab93092d465e3ef3fccf0
git-committer:
Ted Faber <faber@isi.edu> / 2008-12-02T02:09:10Z+0000
Message:

Another take on getting rid of startup flakiness

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fedkit/fed-tun.pl

    r0ea5050 r227f558  
    263263        open(SSHCMD, $cmd)  
    264264           or die "Failed to run ssh"; 
    265  
    266         my $check = <SSHCMD>;  # Make sure something ran... 
     265        # Wait for the other end to report its work done.  This string comes 
     266        # from the block below (after the elsif) -- tvf 
     267        my $check;  # Make sure something ran... 
     268 
     269        while ($check = <SSHCMD>) { 
     270            last if $check =~ /^Remote connection all/; 
     271        } 
    267272        print "Got line [$check] from remote side\n" if ($debug); 
    268273