]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid spurious testsuite failure
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 30 Jun 2020 11:05:55 +0000 (13:05 +0200)
committerPádraig Brady <P@draigBrady.com>
Tue, 30 Jun 2020 12:44:34 +0000 (13:44 +0100)
* tests/dd/stats.sh: Increase timeout.
Fixes https://bugs.gnu.org/42135

tests/dd/stats.sh

index 22ba3b014e3fdeb11afe40e92434ab6925ebf30e..fe5302de821c0194dd153333343dae4df2614a95 100755 (executable)
@@ -50,7 +50,7 @@ for open in '' '1'; do
 
   # dd will block on open until fifo is opened for reading.
   # Timeout in case dd goes away erroneously which we check for below.
-  timeout 20 sh -c 'wc -c < fifo > nwritten' & pid2=$!
+  timeout 60 sh -c 'wc -c < fifo > nwritten' & pid2=$!
 
   # Send lots of signals immediately to ensure dd not killed due
   # to race setting handler, or blocking on open of fifo.