mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-21 18:22:37 +10:00
test: harden portal hardware contract
This commit is contained in:
@@ -5,13 +5,12 @@ This test fixture starts only the WiFiManager captive portal. It intentionally h
|
||||
Use it through the repository runner so a secondary Wi-Fi adapter is explicitly selected and protected from becoming the host default route:
|
||||
|
||||
```bash
|
||||
./tools/test-portal-browser.sh \
|
||||
./tools/portal-hardware run \
|
||||
--platform esp8266 \
|
||||
--port /dev/serial/by-id/... \
|
||||
--wifi-interface wlx... \
|
||||
--output /tmp/wifimanager-browser
|
||||
--client-interface wlx...
|
||||
```
|
||||
|
||||
The ESP8266 portal SSID is `WM Browser ESP8266`; the ESP32 SSID is `WM Browser ESP32`. Both use `default1` exclusively for local development tests.
|
||||
The ESP8266 portal SSID is `WM Contract ESP8266`; the ESP32 SSID is `WM Contract ESP32`. Both use `default1` exclusively for local development tests.
|
||||
|
||||
The runner cleans up only the temporary connection it creates on the named secondary interface. It refuses to run if that interface is the system default route.
|
||||
|
||||
Reference in New Issue
Block a user