diff options
| author | blasty <blasty@local> | 2026-08-06 15:11:54 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-08-06 15:11:54 +0200 |
| commit | cad5a4f9f78c437e9ae80173118abb31df0954d4 (patch) | |
| tree | b365aadb301e5b0290fd27a879daf9c026c1d80f /tests/test_rawimage_rpc.py | |
| parent | drive: a note went to address 0, and a slow edit was reported as a failure (diff) | |
| download | ida-tui-cad5a4f9f78c437e9ae80173118abb31df0954d4.tar.gz ida-tui-cad5a4f9f78c437e9ae80173118abb31df0954d4.tar.xz ida-tui-cad5a4f9f78c437e9ae80173118abb31df0954d4.zip | |
pane: drive panes under zellij as well as tmux
The multiplexer is auto-detected ($ZELLIJ then $TMUX) and every pane
command works the same under both. Pane ids are self-identifying, so a
mixed set of tmux and zellij panes can be tracked at once. zellij has no
-l, so --size is ignored there, it always focuses a new pane (--detached
is emulated), and it leaves an EXITED husk behind that stop/reap now
clear. The pane tests skip on neither multiplexer rather than on no TMUX.
Diffstat (limited to 'tests/test_rawimage_rpc.py')
| -rw-r--r-- | tests/test_rawimage_rpc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_rawimage_rpc.py b/tests/test_rawimage_rpc.py index fe2629f..4da6348 100644 --- a/tests/test_rawimage_rpc.py +++ b/tests/test_rawimage_rpc.py @@ -16,7 +16,7 @@ fall apart: This test spawns a real pane on a real Thumb blob and checks all three. -Requires: tmux, IDA (idalib). ~2min. +Requires: tmux or zellij, IDA (idalib). ~2min. ~/ida-venv/bin/python tests/test_rawimage_rpc.py """ @@ -65,8 +65,8 @@ def stop_pane(sock, timeout=60): def main() -> int: - if not os.environ.get("TMUX"): - print("SKIP: not inside tmux") + if not os.environ.get("TMUX") and not os.environ.get("ZELLIJ"): + print("SKIP: not inside tmux or zellij (test spawns a pane)") return 0 if not os.path.exists(BLOB): print(f"SKIP: no blob at {BLOB}") |
