# Regressions To avoid breaking things later, a simple regression test mechanism is present. This executes all tests in `regressions/` after building hui. ## File Format ~~~ # When lan bridge, but no lan cable wlan: wlan_on (2) wlan_rssi_level(170): 0 wlan_guest_device: wlan_guest_device_allgone (2) dim_brightness(219): 100 lan1: lan1_inactive (2) lan2: lan2_inactive (2) lan3: (null) (0) lan4: (null) (0) button_events: button_events_enable (1) message_zentrale: message_warning_off (4) access_type: access_type_lan_bridge (3) wlan_sta_base: wlan_sta_base_not_configured (2) --- # Should blink with warn repeater-one-no-rssi (repeater-one-no-rssi): 2 (0, 0, #00FF00) by overlay_lan_bridge_no_cable [hui] repeater-all-in-one (repeater-all-in-one): 2 (0, 0, #00FF00) by overlay_lan_bridge_no_cable [hui] # Should be off repeater-rssi-color (repeater-rssi-color): 0 (0, 0, #FF0000) by default_off [hui] ~~~ The file format is simply. It mostly consists of the concatenated output of `/proc/avm/hui/event_state` and `/proc/avm/hui/led_state`. Those two formats are separated by a line containing `---` and lines starting with `#` are ignored. The `name` part in led_state is ignored and the colors normal, warn and error are always #00FF00, #0000FF and #FF0000. Currently timeout are unsupported and all leds have no physical location.