Prevent the background test components from waiting forever for the following PV process to start.

This commit is contained in:
Andrew Wood
2024-12-15 15:00:51 +00:00
parent 25eaa2661a
commit f3e98da13b
7 changed files with 8 additions and 8 deletions
@@ -28,7 +28,7 @@ true > "${workFile4}"
(
set +e
# Don't start doing anything until the main transfer process, started below, has begun.
while ! test -s "${workFile4}"; do sleep 0.1; done
while test -e "${workFile4}" && ! test -s "${workFile4}"; do sleep 0.1; done
sleep 2
for loopCount in 1 2 3; do
"${testSubject}" -R "$(cat "${workFile4}")" -apterb || exit 1