summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 19:52:35 -0300
committerGabriel Schneider <[email protected]>2026-10-01 19:57:27 -0300
commit0728b937028418232a1da3d9922615a6f49680f2 (patch)
tree74790f74a9f0f349ffb91ac0165d73136d263212 /src
parentdce94f4453735a6f71385cc020ee79c7604609e7 (diff)
downloadpardes-0728b937028418232a1da3d9922615a6f49680f2.tar.gz
pardes-0728b937028418232a1da3d9922615a6f49680f2.zip
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/ninep/ctl.zig3
1 files changed, 3 insertions, 0 deletions
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");