diff options
Diffstat (limited to 'src')
| -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"); |
