aboutsummaryrefslogtreecommitdiff
path: root/tests/process-run
diff options
context:
space:
mode:
Diffstat (limited to 'tests/process-run')
-rw-r--r--tests/process-run/driver.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/process-run/driver.cxx b/tests/process-run/driver.cxx
index ff9dd25..695fdb9 100644
--- a/tests/process-run/driver.cxx
+++ b/tests/process-run/driver.cxx
@@ -65,14 +65,14 @@ main (int argc, const char* argv[])
assert (run (0, 1, 2, p));
assert (run (0, 1, 2, p, "-c"));
- process_run ([] (const char* c[], size_t n)
- {
- process::print (cout, c, n);
- cout << endl;
- },
- 0, 1, 2,
- p,
- "-c");
+ process_run_callback ([] (const char* c[], size_t n)
+ {
+ process::print (cout, c, n);
+ cout << endl;
+ },
+ 0, 1, 2,
+ p,
+ "-c");
// Stream conversion and redirection.
//