tests/tui_smoke.py: "second prompt for bash" fails on main #185

Open
opened 2026-11-14 10:42:28 +00:00 by hermes · 0 comments
Collaborator

python3 tests/tui_smoke.py prints FAIL second prompt for bash: 'allow always: sed *' (check #9 of the run). Reproduces on origin/main at 6ebf1c3 (and on branches off it), so tests/all.sh is red for every PR.

Repro: cargo build && python3 tests/tui_smoke.py | grep FAIL.

Expected: after the first bash prompt is answered, the second sed ... call shows a permission popup containing allow always: sed *.

To find out: whether the popup text changed (rule label), the second prompt no longer appears (an allow rule now covers it), or the harness reads the screen too early. Fix the product or update the expected string, whichever is wrong.

Note: after the failed check the script keeps running, then all.sh's grep -q FAIL closes the pipe and the script dies with BrokenPipeError, which hides the real failure line in the all.sh output.

`python3 tests/tui_smoke.py` prints `FAIL second prompt for bash: 'allow always: sed *'` (check #9 of the run). Reproduces on `origin/main` at 6ebf1c3 (and on branches off it), so `tests/all.sh` is red for every PR. Repro: `cargo build && python3 tests/tui_smoke.py | grep FAIL`. Expected: after the first bash prompt is answered, the second `sed ...` call shows a permission popup containing `allow always: sed *`. To find out: whether the popup text changed (rule label), the second prompt no longer appears (an allow rule now covers it), or the harness reads the screen too early. Fix the product or update the expected string, whichever is wrong. Note: after the failed check the script keeps running, then `all.sh`'s `grep -q FAIL` closes the pipe and the script dies with `BrokenPipeError`, which hides the real failure line in the `all.sh` output.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#185