mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
debian/tests: Drop redundant status check
- Remove final status check, since it is confirmed at that point that setup is completed. - Print the final status in test log.
This commit is contained in:
parent
444b1f387a
commit
7ab7c5f29c
7
debian/tests/access-web-interface
vendored
7
debian/tests/access-web-interface
vendored
@ -21,6 +21,9 @@ for _ in $(seq 1 120); do
|
|||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Print final status in test log
|
||||||
|
cat /tmp/fbx_status.json
|
||||||
|
|
||||||
rm -f /tmp/fbx_status.json
|
rm -f /tmp/fbx_status.json
|
||||||
|
|
||||||
if [ "$SETUP_COMPLETE" -eq 0 ]; then
|
if [ "$SETUP_COMPLETE" -eq 0 ]; then
|
||||||
@ -30,10 +33,6 @@ fi
|
|||||||
|
|
||||||
journalctl --unit=plinth --unit=freedombox-privileged
|
journalctl --unit=plinth --unit=freedombox-privileged
|
||||||
|
|
||||||
# Get FreedomBox status
|
|
||||||
curl --location --cookie "" --fail --write-out "%{response_code}" --insecure \
|
|
||||||
--stderr - https://localhost/freedombox/status/
|
|
||||||
|
|
||||||
# Access FreedomBox interface
|
# Access FreedomBox interface
|
||||||
curl --location --cookie "" --fail --write-out "%{response_code}" --insecure \
|
curl --location --cookie "" --fail --write-out "%{response_code}" --insecure \
|
||||||
--stderr - https://localhost/freedombox/
|
--stderr - https://localhost/freedombox/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user