coordination #44843
Updated by okurz about 6 years ago
## Motivation https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6032#discussion_r239122846 or: Reduce if/else on architecture or backend just so select whatever console is the most reliable one ## Acceptance criteria * **AC1:** No more if/else on architecture or backend just for console selection in test modules Obvious occurences of `check_var("BACKEND", "ipmi") ? use_ssh_serial_console : select_console 'root-console';` are replaced by $self->select_serial_terminal to DRY where feasible ## Suggestions * `git grep 'BACKEND.*ipmi.*select_console'` for a start, * Replace manually or look for 'root-ssh' or use_ssh_serial_console with `sed` * Make sure to add `my ($self) = @_;` in the run methods where not there