mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
d/tests: Re-arrange test steps to help with debugging
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
031bbb53cb
commit
b6e122816d
12
debian/tests/access-web-interface
vendored
12
debian/tests/access-web-interface
vendored
@ -22,17 +22,17 @@ for _ in $(seq 1 120); do
|
||||
done
|
||||
|
||||
# Print final status in test log
|
||||
cat /tmp/fbx_status.json
|
||||
cat /tmp/fbx_status.json || true
|
||||
|
||||
rm -f /tmp/fbx_status.json
|
||||
|
||||
if [ "$SETUP_COMPLETE" -eq 0 ]; then
|
||||
echo "Error: first-boot setup did not complete in the allotted time." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
journalctl --unit=plinth --unit=freedombox-privileged
|
||||
|
||||
# Access FreedomBox interface
|
||||
curl --location --cookie "" --fail --write-out "%{response_code}" --insecure \
|
||||
--stderr - https://localhost/freedombox/
|
||||
|
||||
if [ "$SETUP_COMPLETE" -eq 0 ]; then
|
||||
echo "Error: first-boot setup did not complete in the allotted time." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user