tests: avoid spurious testsuite failure

* tests/dd/stats.sh: Increase timeout.
Fixes https://bugs.gnu.org/42135
This commit is contained in:
Andreas Schwab
2020-06-30 13:05:55 +02:00
committed by Pádraig Brady
parent 947c553ff9
commit 6a3d2883fe

View File

@@ -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.