std.process: Fix unittest_burnin compilation

This commit is contained in:
Vladimir Panteleev 2023-02-14 14:46:33 +00:00
parent 8c2b3d18fa
commit 298bb286e6
No known key found for this signature in database
GPG key ID: 5004F0FAD051576D

View file

@ -3999,6 +3999,11 @@ version (unittest_burnin)
// Then, test this module with:
// rdmd --main -unittest -version=unittest_burnin process.d
import std.file : readText, remove;
import std.format : format;
import std.path : absolutePath;
import std.random : uniform;
auto helper = absolutePath("std_process_unittest_helper");
assert(executeShell(helper ~ " hello").output.split("\0")[1..$] == ["hello"], "Helper malfunction");