mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
container: Fix waiting until plinth setup is finished when running tests
Tests performed: - Without starting `freedombox-develop` inside the container, `./container run-tests ...` waits until plinth setup is finished and then runs the functional tests. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
bd207ee24f
commit
fd117a50da
@ -249,7 +249,7 @@ then
|
|||||||
else
|
else
|
||||||
echo -n "> In machine: Starting plinth ... "
|
echo -n "> In machine: Starting plinth ... "
|
||||||
sudo -u plinth /freedombox/run --develop > plinth.log 2>&1 &
|
sudo -u plinth /freedombox/run --develop > plinth.log 2>&1 &
|
||||||
while ! grep -q "Setup thread finished" plinth.log
|
while ! grep -q "Setup finished" plinth.log
|
||||||
do
|
do
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -n .
|
echo -n .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user