diff options
Diffstat (limited to 'test/process/look_and_exec.zig')
| -rw-r--r-- | test/process/look_and_exec.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/process/look_and_exec.zig b/test/process/look_and_exec.zig index 5ad5e25b..9829797b 100644 --- a/test/process/look_and_exec.zig +++ b/test/process/look_and_exec.zig @@ -230,7 +230,8 @@ fn canary(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try check(has(try restored.read(a, "/recent"), try std.fmt.allocPrint(a, "open {s}/after.txt\n", .{root})), "no open in Recent", .{}); { const deadline = process.nowMs() + 10_000; - while (!has(d.get(a, ".local/state/pardes/recent") catch "", d.abs("after.txt"))) { + // Recent's lines are a value of the state file, as they are. + while (!has(d.get(a, ".local/share/pardes/pardes.xitdb") catch "", d.abs("after.txt"))) { if (process.nowMs() > deadline) return error.RecentNotKept; process.nap(50); } |
