summaryrefslogtreecommitdiff
path: root/src/ninep/ctl.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 09:49:03 -0300
committerGabriel Schneider <[email protected]>2026-10-01 09:49:03 -0300
commiteda60572013d046d08e253e5847a0ba588c10339 (patch)
treeaf17805628e1dc735bfd59d7184cfa7b1ad1d120 /src/ninep/ctl.zig
parent802de4f12f125abc261c58bdb5385f6be3ad469a (diff)
downloadpardes-eda60572013d046d08e253e5847a0ba588c10339.tar.gz
pardes-eda60572013d046d08e253e5847a0ba588c10339.zip
Grep's miss says `Grep: text not found`: it is a literal search, and "pattern" suggested a regular expression
Still ENOENT through a mount ("not found" is in 9ns's table, and the unit tests' errno-words check holds it so). The guide's quote follows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/ninep/ctl.zig')
-rw-r--r--src/ninep/ctl.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/ctl.zig b/src/ninep/ctl.zig
index 3ec1f4d6..40ffebc8 100644
--- a/src/ninep/ctl.zig
+++ b/src/ninep/ctl.zig
@@ -2565,7 +2565,7 @@ test "Grep with no hit says grep: no match and opens nothing, a missing pane dir
for (p.panes) |slot| count += @intFromBool(slot != null);
const missed = wr(p, Node.of(serialOf(p), .exec), "Grep zzqqnomatchzz\n");
try testing.expectEqual(E.NOENT, missed.errno());
- try testing.expectEqualStrings("Grep: pattern not found", missed.reply.ename);
+ try testing.expectEqualStrings("Grep: text not found", missed.reply.ename);
const unfound = wr(p, Node.of(serialOf(p), .exec), "Find zzqqnomatchzz\n");
try testing.expectEqual(E.NOENT, unfound.errno());
try testing.expectEqualStrings("Find: name not found", unfound.reply.ename);