mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-29 12:09:37 +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
|
||||
done
|
||||
|
||||
# Print final status in test log
|
||||
cat /tmp/fbx_status.json
|
||||
|
||||
rm -f /tmp/fbx_status.json
|
||||
|
||||
if [ "$SETUP_COMPLETE" -eq 0 ]; then
|
||||
@ -30,10 +33,6 @@ fi
|
||||
|
||||
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
|
||||
curl --location --cookie "" --fail --write-out "%{response_code}" --insecure \
|
||||
--stderr - https://localhost/freedombox/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user