From 0728b937028418232a1da3d9922615a6f49680f2 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 19:52:35 -0300 Subject: The reference's acme words and its Coming from acme rows say what Get, Putall, Zerox, Tab, Incl, Load and Indent are now, and what covers Font, Send and ID; Load is tested as Restore Co-Authored-By: Claude Opus 5.5 --- src/ninep/ctl.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/ninep/ctl.zig b/src/ninep/ctl.zig index 537ac4d0..599dd0d6 100644 --- a/src/ninep/ctl.zig +++ b/src/ninep/ctl.zig @@ -3272,6 +3272,9 @@ test "acme's words run as pardes's (Put is Save, Delete a Del that does not ask) try testing.expect(std.mem.indexOf(u8, r.reply.ename, "is not a pardes builtin") != null); } } + // Load is Restore: whatever it says, never acme's word refused. + const load = wr(p, Node.of(serial, .exec), "Load /tmp/pardes-surely-no-dump.zon\n"); + try testing.expect(std.mem.indexOf(u8, load.reply.ename, "is not a pardes builtin") == null); // Put saves, as Save does. _ = wr(p, Node.of(serial, .name), "/tmp/pardes-put.txt\n"); const put = wr(p, Node.of(serial, .exec), "Put\n"); -- cgit v1.3