Verified Commit 7888e362 authored by Karel Koci's avatar Karel Koci 🤘 Committed by Karel Koci
Browse files

test-bootup: check if router does not specify WAN access after boot

This checks if there is no configuration fo WAN after clean boot. This
is intended as default that foces user to go immediately trough first
setup guide and configure router and primarily the administration
password.
parent 32a51b55
......@@ -93,3 +93,11 @@ def test_lighttpd(lan1_client):
"""
pexp = Shell(lan1_client.pexpect())
pexp.run("wget 192.168.1.1 && rm index.html")
def test_no_wan(client_board):
"""The router should not have WAN interface configured to any valid setting as we want to force users to first go
trough first setup guide and set password there.
"""
client_board.run("uci get network.wan.proto")
assert client_board.output == "none"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment