]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Add timeout to make oldconfig
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Feb 2014 15:44:51 +0000 (16:44 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Feb 2014 15:44:51 +0000 (16:44 +0100)
make oldconfig is not happy with answering 'n' to "number" question. If
some kernel changes configuration, we end up with infinite loop. We add
timeout to not loop indefinitely in this case.

continuous/steps/20-config

index d5a9fff4f05db0384e5ce4d1bdfc34d1b670e371..dfbaad2405920f33efabf2e62f0ae075c12c419b 100755 (executable)
@@ -62,4 +62,4 @@ conf NETFILTER y
 
 conf PACKET y # ugw mmap
 
-yes n|chronic make oldconfig
+timeout 2m yes n|chronic make oldconfig