From f03287dd18e7b8a3b048191fcbc25d8f5e5b4b67 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 29 Aug 2013 13:52:28 +1000 Subject: [PATCH] test/lib: Implement process_init change in testcases We need to provide the dry_run argument. Signed-off-by: Jeremy Kerr --- test/lib/test-process-async-stdout.c | 2 +- test/lib/test-process-async.c | 2 +- test/lib/test-process-both.c | 2 +- test/lib/test-process-noargs.c | 2 +- test/lib/test-process-sync-stdout.c | 2 +- test/lib/test-process-sync.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/lib/test-process-async-stdout.c b/test/lib/test-process-async-stdout.c index fab9e39..30001ba 100644 --- a/test/lib/test-process-async-stdout.c +++ b/test/lib/test-process-async-stdout.c @@ -45,7 +45,7 @@ int main(int argc, char **argv) waitset = waitset_create(test); - process_init(test, waitset); + process_init(test, waitset, false); child_argv[0] = argv[0]; child_argv[1] = "child"; diff --git a/test/lib/test-process-async.c b/test/lib/test-process-async.c index 61780ad..a411748 100644 --- a/test/lib/test-process-async.c +++ b/test/lib/test-process-async.c @@ -35,7 +35,7 @@ int main(int argc, char **argv) waitset = waitset_create(ctx); - process_init(ctx, waitset); + process_init(ctx, waitset, false); child_argv[0] = argv[0]; child_argv[1] = "child"; diff --git a/test/lib/test-process-both.c b/test/lib/test-process-both.c index 75e601c..0be738c 100644 --- a/test/lib/test-process-both.c +++ b/test/lib/test-process-both.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) waitset = waitset_create(test); - process_init(test, waitset); + process_init(test, waitset, false); sync_child_argv[0] = argv[0]; sync_child_argv[1] = "sync-child"; diff --git a/test/lib/test-process-noargs.c b/test/lib/test-process-noargs.c index 02bdc58..277aaf7 100644 --- a/test/lib/test-process-noargs.c +++ b/test/lib/test-process-noargs.c @@ -17,7 +17,7 @@ int main(void) waitset = waitset_create(ctx); - process_init(ctx, waitset); + process_init(ctx, waitset, false); result = process_run_simple(ctx, "true", NULL); diff --git a/test/lib/test-process-sync-stdout.c b/test/lib/test-process-sync-stdout.c index 96ccb75..bf0c643 100644 --- a/test/lib/test-process-sync-stdout.c +++ b/test/lib/test-process-sync-stdout.c @@ -27,7 +27,7 @@ int main(int argc, char **argv) waitset = waitset_create(ctx); - process_init(ctx, waitset); + process_init(ctx, waitset, false); child_argv[0] = argv[0]; child_argv[1] = "child"; diff --git a/test/lib/test-process-sync.c b/test/lib/test-process-sync.c index b47bdc6..0a7f9be 100644 --- a/test/lib/test-process-sync.c +++ b/test/lib/test-process-sync.c @@ -26,7 +26,7 @@ int main(int argc, char **argv) waitset = waitset_create(ctx); - process_init(ctx, waitset); + process_init(ctx, waitset, false); child_argv[0] = argv[0]; child_argv[1] = "child"; -- 2.39.2