summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-08-29 13:52:28 +1000
committerJeremy Kerr <jk@ozlabs.org>2013-08-29 13:53:15 +1000
commitf03287dd18e7b8a3b048191fcbc25d8f5e5b4b67 (patch)
tree221d99e46c6b8602f6f57010589f780ab6970204 /test/lib
parentfb0fdcc59d7b0f2ed97f1894b25e4424131970f6 (diff)
downloadtalos-petitboot-f03287dd18e7b8a3b048191fcbc25d8f5e5b4b67.tar.gz
talos-petitboot-f03287dd18e7b8a3b048191fcbc25d8f5e5b4b67.zip
test/lib: Implement process_init change in testcases
We need to provide the dry_run argument. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/test-process-async-stdout.c2
-rw-r--r--test/lib/test-process-async.c2
-rw-r--r--test/lib/test-process-both.c2
-rw-r--r--test/lib/test-process-noargs.c2
-rw-r--r--test/lib/test-process-sync-stdout.c2
-rw-r--r--test/lib/test-process-sync.c2
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";
OpenPOWER on IntegriCloud