summaryrefslogtreecommitdiff
path: root/test/behaviour.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-03 17:19:12 -0300
committerGabriel Schneider <[email protected]>2026-11-03 17:19:46 -0300
commitd20a480e5d556b522aedfc7ec67fa423f37c8d1d (patch)
tree8b5e333fef2f37997b1420831aaf204f20e346a3 /test/behaviour.zig
parent023793be1112bc35b50551580d273f4cf611b3da (diff)
downloadpardes-d20a480e5d556b522aedfc7ec67fa423f37c8d1d.tar.gz
pardes-d20a480e5d556b522aedfc7ec67fa423f37c8d1d.zip
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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/behaviour.zig')
-rw-r--r--test/behaviour.zig1
1 files changed, 1 insertions, 0 deletions
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");