From d20a480e5d556b522aedfc7ec67fa423f37c8d1d Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 3 Nov 2026 17:19:12 -0300 Subject: test: four more of src/ninep/ctl.zig's tests through the 9P tree alone, on opens a test holds: Session's hold, readFid, writeFid and clunk (and truncate, readAt and stat for the pane files' tests next), an open kept as an event reader or a lock holder keeps one; lock and unlock on one ctl open against another (test/behaviour/panes), the event reader taking a pane's look, exec and tag clicks and acting on them written back, a refused Del written back EIO (new test/behaviour/event), /pager answering on the open that asked (other_files); each checked to fail against a break: another open's lock taken, a reader never taking a click, an event write-back's failure not captured, /pager answering the session's last result; the old pager test's two-line write refused is a handle-less write's alone (an open takes the second line as the text) and is gone Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/behaviour.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'test/behaviour.zig') diff --git a/test/behaviour.zig b/test/behaviour.zig index 67a22668..49245d82 100644 --- a/test/behaviour.zig +++ b/test/behaviour.zig @@ -5,6 +5,7 @@ test { _ = @import("behaviour/columns_and_tags.zig"); _ = @import("behaviour/edit.zig"); + _ = @import("behaviour/event.zig"); _ = @import("behaviour/log.zig"); _ = @import("behaviour/look_and_exec.zig"); _ = @import("behaviour/mounts.zig"); -- cgit v1.3