continuous: Increase timeout in my-oldconfig
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 10 Apr 2014 13:31:52 +0000 (15:31 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 10 Apr 2014 13:31:52 +0000 (15:31 +0200)
One second was too small.

continuous/steps/my-oldconfig.pl

index 17080b4..736bf57 100755 (executable)
@@ -4,7 +4,7 @@ use Expect;
 my $exp = Expect->spawn("make oldconfig")
     or die "Cannot spawn make oldconfig: $!\n";
 
-my $timeout = 1;
+my $timeout = 10;
 $exp->expect($timeout,
             [ '^ *choice\[.*\]: '           => sub { $exp->send("\n");  exp_continue; } ],
             [ '^([^ ]| *[^>0-9]).*\(NEW\) ' => sub { $exp->send("n\n"); exp_continue; } ],