aboutsummaryrefslogtreecommitdiff
path: root/tests/process
diff options
context:
space:
mode:
Diffstat (limited to 'tests/process')
-rw-r--r--tests/process/driver.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx
index bdc5f4a..b154bce 100644
--- a/tests/process/driver.cxx
+++ b/tests/process/driver.cxx
@@ -294,8 +294,13 @@ main (int argc, const char* argv[])
v.reserve (5000 * 256);
for (size_t i (0); i < 5000; ++i)
{
- for (size_t c (0); c < 256; ++c)
+ char c (numeric_limits<char>::min ());
+
+ do
+ {
v.push_back (c);
+ }
+ while (c++ != numeric_limits<char>::max ());
}
assert (exec (p, v, true, true));