# Integrations pass (S009): update check against a local fake release API. Run:
#   python3 -m http.server 8769 --bind 127.0.0.1 --directory tests/smoke/data/updates 2>access.log &
#   tools/smoke.sh tests/smoke/integ-updates.txt target/smoke/integ-updates
# The notice must say 9.9.9 is available and nothing may be downloaded (no request for /dl/ in the server log,
# no download in the status).
set /update/repo "http://127.0.0.1:8769/astar76/Nacre"
set /update/auto_check false
wait 2
cmd check_updates
wait 4
status updates
expect /update "Version 9.9.9 is available"
shot update-notice
status done
quit
