The command line option "args" were used to pass additional args to
the control file, so this patch assign it the job.args which could be
used by control file. Kvm-autotest would be the first user.

Signed-off-by: Jason Wang <[email protected]>
---
 0 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/client/bin/job.py b/client/bin/job.py
index 3d552ce..8a71bbf 100644
--- a/client/bin/job.py
+++ b/client/bin/job.py
@@ -110,6 +110,7 @@ class base_client_job(base_job.base_job):
         """
         super(base_client_job, self).__init__(options=options)
         self._pre_record_init(control, options)
+        job.args = options.args
         try:
             self._post_record_init(control, options, drop_caches,
                                    extra_copy_cmdline)

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to