Skip to content

Commit

Permalink
Merge pull request #3083 from rainers/win32coff_fix_unittest
Browse files Browse the repository at this point in the history
Win32 COFF: fix std.process unittests
  • Loading branch information
JakobOvrum committed Mar 24, 2015
2 parents 26d8a71 + 3566651 commit f9c309f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/process.d
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ unittest
auto env = ["foo" : "bar"];
assert (wait(spawnShell(cmd~redir, env)) == 0);
auto f = File(tmpFile, "a");
version(Win64) f.seek(0, SEEK_END); // MSVCRT probably seeks to the end when writing, not before
version(CRuntime_Microsoft) f.seek(0, SEEK_END); // MSVCRT probably seeks to the end when writing, not before
assert (wait(spawnShell(cmd, std.stdio.stdin, f, std.stdio.stderr, env)) == 0);
f.close();
auto output = std.file.readText(tmpFile);
Expand Down

0 comments on commit f9c309f

Please sign in to comment.