diff --git a/src/Command.zig b/src/Command.zig index 5cc3dc9459..5d4b31561e 100644 --- a/src/Command.zig +++ b/src/Command.zig @@ -700,7 +700,11 @@ test "Command: custom working directory" { .cwd = "C:\\Windows\\System32", } else .{ .path = "/bin/sh", - .args = &.{ "/bin/sh", "-c", "pwd" }, + .args = &.{ + "/bin/sh", + "-c", + "echo $PWD", + }, .stdout = stdout, .cwd = "/bin", };