diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 19:52:35 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 19:57:27 -0300 |
| commit | 0728b937028418232a1da3d9922615a6f49680f2 (patch) | |
| tree | 74790f74a9f0f349ffb91ac0165d73136d263212 /src/ninep/ctl.zig | |
| parent | dce94f4453735a6f71385cc020ee79c7604609e7 (diff) | |
| download | pardes-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/ninep/ctl.zig')
| -rw-r--r-- | src/ninep/ctl.zig | 3 |
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"); |
