#!/usr/bin/env python3 # smoke.py - runs smoke.txt against a ui-preview binary and checks each reply: `> ` lines are requests, # `< ` a reply line must contain the text (in order), `<= ` the exact final line, ` ") or line == ">": reqs.append(line[2:]); exp.append([]) elif line.startswith(("< ", "<= ", "